Revert [Backport release-0.8] docs(lsp): add formatting APIs to deprecated.txt (#20614)

This commit is contained in:
zeertzjq 2022-10-12 20:10:46 +08:00 committed by GitHub
parent f294712d8c
commit 5f54cfcc05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,10 +114,6 @@ LSP FUNCTIONS
- *vim.lsp.util.set_loclist()* Use |setloclist()| instead.
- *vim.lsp.buf_get_clients()* Use |vim.lsp.get_active_clients()| with
{buffer = bufnr} instead.
- *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.buf.format()| instead.
LUA
- *vim.register_keystroke_callback()* Use |vim.on_key()| instead.