diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-10-06 13:00:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 19:00:13 +0800 |
commit | 2c08ab5369c79afd9138c38164e2d2c157ce8435 (patch) | |
tree | 50a67112f7a58938f2f1aa11e223685de247c44d | |
parent | de47b4b9016803650117d2ce79a537b3975af2b7 (diff) | |
download | rneovim-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.txt | 2 |
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. |