mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
[Backport release-0.8] docs: fix incorrect :help tag (#20615)
fix: incorrect :help tag
vim.lsp.format() doesn't exist, which causes functionaltest to fail.
Change to vim.lsp.buf.format().
(cherry picked from commit 29a7f92e2e
)
Co-authored-by: dundargoc <gocdundar@gmail.com>
This commit is contained in:
parent
a6b62821de
commit
acb8033bca
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user