Replies: 8 comments
-
You can use the |
Beta Was this translation helpful? Give feedback.
-
Just a copy of config? Might be viable |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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"] } |
Beta Was this translation helpful? Give feedback.
-
Since we already have |
Beta Was this translation helpful? Give feedback.
-
For rust, rustfmt is actually run by rust-analyzer so the language server provides the formatting when you run |
Beta Was this translation helpful? Give feedback.
-
Thank you! Fixed by adding a |
Beta Was this translation helpful? Give feedback.
-
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.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions