diff options
| author | Tristan Knight <admin@snappeh.com> | 2026-03-20 08:48:19 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-20 04:48:19 -0400 |
| commit | a8ffa6e323d89d88a4582ba10c2cc04814909614 (patch) | |
| tree | 14fb143c0d3c9baf9071b728e046dabc8587d7df /runtime/lua/vim/provider/python.lua | |
| parent | 24714c0d43ca0d08e8bd1399070f36027091ba5b (diff) | |
fix(lsp): guard dynamic capability attachment #38382
Problem:
The capability attach path for client/registerCapability can initialize a capability even when the capability was only registered in specific buffers
Solution:
Check supports_method() before attaching capabilities from the dynamic registration handler so unsupported registrations are ignored.
AI-assisted: OpenCode
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions
