-
-
Notifications
You must be signed in to change notification settings - Fork 837
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lsp): use native lsp handlers for some pickers (#3335)
Switch the following pickers to use the native neovim lsp handler functions using the `on_list` option: - `references` -> `vim.lsp.buf.references` - `definitions` -> `vim.lsp.buf.definition` - `type_definitions` -> `vim.lsp.buf.type_definition` - `implementations` -> `vim.lsp.buf.implementation` This offloads the request and response handling off the neovim. This also let's responses pass through any custom handlers registered via `vim.lsp.handlers`. This only affects users on neovim 0.11+. The `on_list` option was introduced in nvim 0.10 but only recently in 0.11, has neovim's `vim.lsp.buf.*` functions added improved support for responses from multiple language servers.
- Loading branch information
Showing
1 changed file
with
109 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters