summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/lsp/_meta.lua
AgeCommit message (Collapse)AuthorFiles
2026-01-27feat(lsp): semantic token range improvements #37451jdrouhard1
* cache all tokens from various range requests for a given document version - all new token highlights are merged with previous highlights to maintain order and the "marked" property - this allows the tokens to stop flickering once they've loaded once per document version * abandon the processing coroutine if the request_id has changed instead of relying only on the document version - this will improve efficiency if a new range request is made while a previous one was processing its result * apply new highlights from processing coroutine directly to the current result when the version hasn't changed - this allows new highlights to be immediately drawable once they've processed instead of waiting for the whole response to be processed at once * rpc layer was changed to provide the request ID back in success callbacks, which is then provided as a request_id field on the handler context to lsp handlers
2025-10-07fix(lsp): use LSP method type in more places (#36069)Maria Solano1
2025-06-26fix(lsp): include context for each client in multi-handler results (#34669)Maria José Solano1
2025-01-27fix: resolve all remaining LuaLS diagnosticsLewis Russell1
2024-11-01feat(lsp)!: remove client-server handlers from vim.lsp.handlersLewis Russell1
- Partition the handlers in vim.lsp.handlers as: - client to server response handlers (RCS) - server to client request handlers (RSC) - server to client notification handlers (NSC) Note use string indexes instead of protocol.methods for improved typing in LuaLS (tip: use hover on RCS, RSC or NSC).
2024-10-29feat(lsp)!: multiple client support for vim.lsp.buf.hover()Lewis Russell1
Deprecate `vim.lsp.handlers.hover` and `vim.lsp.handlers['textDocument/hover']`
2024-01-20fix(lsp): clean up duplicate and unused meta type annotationsJongwook Choi1
2023-12-14feat(lsp): more annotationsLewis Russell1
2023-08-09fix(lua): improve annotations for stricter luals diagnostics (#24609)Christian Clason1
Problem: luals returns stricter diagnostics with bundled luarc.json Solution: Improve some function and type annotations: * use recognized uv.* types * disable diagnostic for global `vim` in shared.lua * docs: don't start comment lines with taglink (otherwise LuaLS will interpret it as a type) * add type alias for lpeg pattern * fix return annotation for `vim.secure.trust` * rename local Range object in vim.version (shadows `Range` in vim.treesitter) * fix some "missing fields" warnings * add missing required fields for test functions in eval.lua * rename lsp meta files for consistency