docs: fix typo in reference to vim.lsp.buf.code_action (#1883)

This commit is contained in:
Maximilian Schmidt
2022-04-26 08:54:04 +02:00
committed by GitHub
parent 2b8c7b1ec7
commit 6a54433038

View File

@@ -184,8 +184,8 @@ We decided to remove both `lsp_code_actions` and `lsp_range_code_actions`.
Currently, both functions are highly duplicated code from neovim, with fewer Currently, both functions are highly duplicated code from neovim, with fewer
features, because it's out of date. So rather that we copy over the required features, because it's out of date. So rather that we copy over the required
changes to fix some bugs or implement client side code actions, we decided to changes to fix some bugs or implement client side code actions, we decided to
remove both of them and suggest you use `vim.lsp.buf.code_actions` and remove both of them and suggest you use `vim.lsp.buf.code_action` and
`vim.lsp.buf.range_code_actions`. The transition to it is easy thanks to `vim.lsp.buf.range_code_action`. The transition to it is easy thanks to
`vim.ui.select` which allows you to override the select UI. We provide a small `vim.ui.select` which allows you to override the select UI. We provide a small
extension for quite some time that make it easy to use telescope for extension for quite some time that make it easy to use telescope for
`vim.ui.select`. You can found the code here `vim.ui.select`. You can found the code here