mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
docs: fix incorrect :help tag (#20511)
vim.lsp.format() doesn't exist, which causes functionaltest to fail. Change to vim.lsp.buf.format().
This commit is contained in:
parent
de47b4b901
commit
2c08ab5369
@ -121,7 +121,7 @@ LSP Functions ~
|
|||||||
*vim.lsp.buf.formatting()* Use |vim.lsp.buf.format()| with
|
*vim.lsp.buf.formatting()* Use |vim.lsp.buf.format()| with
|
||||||
{async = true} instead.
|
{async = true} instead.
|
||||||
*vim.lsp.buf.range_formatting()* Use |vim.lsp.formatexpr()|
|
*vim.lsp.buf.range_formatting()* Use |vim.lsp.formatexpr()|
|
||||||
or |vim.lsp.format()| instead.
|
or |vim.lsp.buf.format()| instead.
|
||||||
|
|
||||||
Lua ~
|
Lua ~
|
||||||
*vim.register_keystroke_callback()* Use |vim.on_key()| instead.
|
*vim.register_keystroke_callback()* Use |vim.on_key()| instead.
|
||||||
|
Loading…
Reference in New Issue
Block a user