diff options
| author | Tristan Knight <admin@snappeh.com> | 2025-12-06 23:31:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-06 18:31:11 -0500 |
| commit | 9e9cdcaa182be4819db5d3323fdfb81477a69c37 (patch) | |
| tree | f643cfe7573bb835e1d121c0938e364aa6d87f4a /runtime/lua/vim/_defaults.lua | |
| parent | 4e1644d4d3cb6b2ae7bd7110add8424e5217882b (diff) | |
refactor(lsp): unify capability checks and registration #36781
Problem:
Our LSP type system didnt have a concept of RegistrationMethods, this is where the method to dynamically register for a capability is sent to a different method endpoint then is used to call it. Eg `textDocument/semanticTokens` rather than the specific full/range/delta methods
Solution:
Extended generator to create `vim.lsp.protocol.Methods.Registration` with these registration methods. Also extend `_request_name_to_client_capability` to cover these methods. Adjust typing to suit
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions
