feat(lsp)!: support multiple clients in lsp.buf.references

Relates to:

- https://github.com/neovim/neovim/issues/17712
- https://github.com/neovim/neovim/issues/30034
This commit is contained in:
Mathias Fussenegger
2024-10-08 19:04:28 +02:00
committed by Mathias Fußenegger
parent ce9a9b4700
commit dff684fdb3
3 changed files with 56 additions and 30 deletions

View File

@@ -77,6 +77,9 @@ LSP
customizing the transformation of an LSP CompletionItem to |complete-items|.
• |vim.lsp.diagnostic.from()| can be used to convert a list of
|vim.Diagnostic| objects into their LSP diagnostic representation.
• |vim.lsp.buf.references()| now handles multiple clients but no longer
triggers the global `textDocument/references` handler from
`vim.lsp.handlers`
LUA