From 2c08ab5369c79afd9138c38164e2d2c157ce8435 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Thu, 6 Oct 2022 13:00:13 +0200 Subject: [PATCH] docs: fix incorrect :help tag (#20511) vim.lsp.format() doesn't exist, which causes functionaltest to fail. Change to vim.lsp.buf.format(). --- runtime/doc/deprecated.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.