aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-10-06 13:00:13 +0200
committerGitHub <noreply@github.com>2022-10-06 19:00:13 +0800
commit2c08ab5369c79afd9138c38164e2d2c157ce8435 (patch)
tree50a67112f7a58938f2f1aa11e223685de247c44d
parentde47b4b9016803650117d2ce79a537b3975af2b7 (diff)
downloadrneovim-2c08ab5369c79afd9138c38164e2d2c157ce8435.tar.gz
rneovim-2c08ab5369c79afd9138c38164e2d2c157ce8435.tar.bz2
rneovim-2c08ab5369c79afd9138c38164e2d2c157ce8435.zip
docs: fix incorrect :help tag (#20511)
vim.lsp.format() doesn't exist, which causes functionaltest to fail. Change to vim.lsp.buf.format().
-rw-r--r--runtime/doc/deprecated.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt
index d82e3ef895..bb8b24f5bf 100644
--- 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.