aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-12 22:52:06 +0800
committerGitHub <noreply@github.com>2023-04-12 22:52:06 +0800
commit1013aba462d0721bafc934eddd1dba672d084958 (patch)
treeaea6c79e36c0086e01cc3339060555de3ef7b5ad
parent37011bc45ef333776bccea84a1a7ced6c68e3b51 (diff)
downloadrneovim-1013aba462d0721bafc934eddd1dba672d084958.tar.gz
rneovim-1013aba462d0721bafc934eddd1dba672d084958.tar.bz2
rneovim-1013aba462d0721bafc934eddd1dba672d084958.zip
docs: add vim.lsp.buf.formatting_sync() to deprecated.txt (#23045)
-rw-r--r--runtime/doc/deprecated.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt
index 3735073867..171d285950 100644
--- a/runtime/doc/deprecated.txt
+++ b/runtime/doc/deprecated.txt
@@ -120,6 +120,8 @@ LSP FUNCTIONS
{buffer = bufnr} instead.
- *vim.lsp.buf.formatting()* Use |vim.lsp.buf.format()| with
{async = true} instead.
+- *vim.lsp.buf.formatting_sync()* Use |vim.lsp.buf.format()| with
+ {async = false} instead.
- *vim.lsp.buf.range_formatting()* Use |vim.lsp.formatexpr()|
or |vim.lsp.buf.format()| instead.