Helix is great, however browsing other’s projects with it due to the immediately kicking in language server can be a pain and a huge resource hog. For that reason I disable it by default in my helix config and mapped two keys to start/quit any LSP
[editor.lsp]
display-inlay-hints = true
display-messages = true
# disable by default to make browsing source files quick and easy
enable = false
[keys.normal]
# toggle LSP
A-q = [":lsp-stop", ":set-option lsp.enable false"]
A-l = [":set-option lsp.enable true", ":lsp-restart"]
This way I can browse anything without fear of starting a huge background compilation. The small price is that sometimes I need to start the LSP twice to get helix into the right state.
Another advantage is that if the LSP crashes or misbehaves it is easy to restart it without losing the editor’s full state.