From acb8033bca72b2dc957ec83544d000819b747289 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 Oct 2022 05:04:18 -0700 Subject: [PATCH] [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 29a7f92e2e919882187e0bca501f1a7105147226) Co-authored-by: dundargoc --- 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.