Skip to content

How to disable plugin autostart, and launch it on demand using 'RustAnalyzer start' #226

Answered by mrcjkb
mateuszaaa asked this question in Q&A
Discussion options

You must be logged in to vote

Hey 👋

There are two ways you can achieve this.

  1. By setting the server.auto_attach option to false (see advanced configuration).
  2. In case you use direnv or nix, this plugin won't start the LSP client is rust-analyzer isn't on the PATH.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mrcjkb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants