-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI flag to disable LSP #6686
Comments
You can use the |
Just a copy of config? Might be viable |
I would find it better to ask lsp validate my file after I finished typing, instead of current behavior where it's blinking with validation on every symbol while I am typing; that seems to be a default behavior in vscode too, but it's very annoying and I hope to find solution with throttle or something |
Is helix 23.05 (fee8e3f7) It works for shell scripts for which I have the recommended config from the wiki: [[language]]
name = "bash"
indent = { tab-width = 4, unit = " " }
formatter = { command = 'shfmt', args = ["-i", "4"] } |
Since we already have |
For rust, rustfmt is actually run by rust-analyzer so the language server provides the formatting when you run |
Thank you! Fixed by adding a |
Just ran into a use case where this feature would be convenient: A recent change in my code is causing the LSP to take up all the RAM and freeze everything. I want to open the editor without the LSP running for the short-term, so I can fix this problem and get everything working again.
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
When working on large projects, you might want to simply search for something or do brief changes, not triggering LSP builds which can use a lot of RAM and battery power if you use a laptop.
Proposal: either a CLI flag or environment variable to make Helix ignore LSP server configs and not start them.
The text was updated successfully, but these errors were encountered: