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

(cherry picked from commit d5b8a1b3d3)
This commit is contained in:
zeertzjq 2023-04-12 22:39:03 +08:00 committed by github-actions[bot]
parent 2e819d3707
commit eb9a95ea8e

View File

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