summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/syntax/javascriptreact.vim
diff options
context:
space:
mode:
authorTristan Knight <admin@snappeh.com>2026-04-24 23:48:23 +0100
committerGitHub <noreply@github.com>2026-04-24 18:48:23 -0400
commitf83d0b9653a8a548093645a9397f9f293b91c127 (patch)
treeca01941fb65f138fb11bbd3037e684189b63c9ef /runtime/syntax/javascriptreact.vim
parent66149ca6681102ff758b516984a1ccfe2ce0d974 (diff)
fix(lsp): handle self-mapped methods in supports_method #39383nightly
Problem: The LSP client incorrectly checks for server capabilities when determining support for self-mapped methods (e.g., 'shutdown'), which do not have corresponding capabilities in the server's response. This leads to false negatives when checking if such methods are supported. This was handled correctly for dynamic registrations, but not for static. Methods such as 'shutdown', do not have a related server capability and should be assumed to be supported. Solution: Update the `supports_method` logic to always return true for self-mapped methods.
Diffstat (limited to 'runtime/syntax/javascriptreact.vim')
0 files changed, 0 insertions, 0 deletions