commit 2c08ab5369c79afd9138c38164e2d2c157ce8435
parent de47b4b9016803650117d2ce79a537b3975af2b7
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date: Thu, 6 Oct 2022 13:00:13 +0200
docs: fix incorrect :help tag (#20511)
vim.lsp.format() doesn't exist, which causes functionaltest to fail.
Change to vim.lsp.buf.format().
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt
@@ -121,7 +121,7 @@ LSP Functions ~
*vim.lsp.buf.formatting()* Use |vim.lsp.buf.format()| with
{async = true} instead.
*vim.lsp.buf.range_formatting()* Use |vim.lsp.formatexpr()|
- or |vim.lsp.format()| instead.
+ or |vim.lsp.buf.format()| instead.
Lua ~
*vim.register_keystroke_callback()* Use |vim.on_key()| instead.