mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	docs: add vim APIs to deprecated.txt
Add vim.lsp.buf.formatting() to deprecated.txt. Add vim.lsp.buf.range_formatting() to deprecated.txt.
This commit is contained in:
		| @@ -118,6 +118,10 @@ LSP Functions ~ | |||||||
| *vim.lsp.util.set_loclist()*		Use |setloclist()| instead. | *vim.lsp.util.set_loclist()*		Use |setloclist()| instead. | ||||||
| *vim.lsp.buf_get_clients()*		Use |vim.lsp.get_active_clients()| with | *vim.lsp.buf_get_clients()*		Use |vim.lsp.get_active_clients()| with | ||||||
|                                         {buffer = bufnr} instead. |                                         {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.format()| instead. | ||||||
|  |  | ||||||
| Lua ~ | Lua ~ | ||||||
| *vim.register_keystroke_callback()* Use |vim.on_key()| instead. | *vim.register_keystroke_callback()* Use |vim.on_key()| instead. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 steventhorne
					steventhorne