docs: add vim.lsp.buf.formatting_sync() to deprecated.txt

This commit is contained in:
zeertzjq
2023-04-12 22:39:03 +08:00
parent 37011bc45e
commit d5b8a1b3d3

View File

@@ -120,6 +120,8 @@ LSP FUNCTIONS
{buffer = bufnr} instead. {buffer = bufnr} instead.
- *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.formatting_sync()* Use |vim.lsp.buf.format()| with
{async = false} instead.
- *vim.lsp.buf.range_formatting()* Use |vim.lsp.formatexpr()| - *vim.lsp.buf.range_formatting()* Use |vim.lsp.formatexpr()|
or |vim.lsp.buf.format()| instead. or |vim.lsp.buf.format()| instead.