neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 1013aba462d0721bafc934eddd1dba672d084958
parent 37011bc45ef333776bccea84a1a7ced6c68e3b51
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 12 Apr 2023 22:52:06 +0800

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


Diffstat:
Mruntime/doc/deprecated.txt | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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.