Don't request textDocument/implementation
if the server does not support it
#4272
Labels
textDocument/implementation
if the server does not support it
#4272
Summary
Currently, helix blindly requests
textDocument/implementation
without checking whether the server actually supports it. I've been pointed to the following place where this should be added:helix/helix-lsp/src/client.rs
Lines 848 to 859 in 13d81b7
Reproduction Steps
I tried this:
hx
on a julia filegi
on a function useI expected this to happen:
The editor scrolls to the function in question.
Instead, this happened:
The LSP crashed, due to not supporting
textDocument/implementation
.Helix log
~/.cache/helix/helix.log
Platform
Linux 5.19.7-arch1-1
Terminal Emulator
footy
Helix Version
helix 22.08.1
The text was updated successfully, but these errors were encountered: