summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_defaults.lua
diff options
context:
space:
mode:
authorTristan Knight <admin@snappeh.com>2025-12-06 23:31:11 +0000
committerGitHub <noreply@github.com>2025-12-06 18:31:11 -0500
commit9e9cdcaa182be4819db5d3323fdfb81477a69c37 (patch)
treef643cfe7573bb835e1d121c0938e364aa6d87f4a /runtime/lua/vim/_defaults.lua
parent4e1644d4d3cb6b2ae7bd7110add8424e5217882b (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