Set default LSP #11834
Unanswered
Mirko-von-Leipzig
asked this question in
Q&A
Set default LSP
#11834
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I configure the default LSP when helix launches without a target file?
99% of my workspaces are Rust. Currently my workflow is opening the Rust workspace with
hx <workspace path>
, usuallyhx .
. This launches helix with the file picker, however no LSP is launched.Rust-analyzer is only launched once I open a rust file. I'd like to have LSP functionality load immediately without having to pick a random rust file. Often I don't have a specific file in mind, but rather want to search symbols / diagnostics so picking a random file to start with is annoying.
I'd happily configure rust-analyzer as the fallback LSP; or a more fine-grained per working directory configuration. I have no language specific configurations; and helix config only contains key-mapping changes.
I assume I'm being an idiot; but search is failing me..
Beta Was this translation helpful? Give feedback.
All reactions