fix: incorrect :help tag

vim.lsp.format() doesn't exist, which causes functionaltest to fail.
Change to vim.lsp.buf.format().
This commit is contained in:
dundargoc 2022-10-06 12:34:55 +02:00
parent de47b4b901
commit 29a7f92e2e

View File

@ -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.