-
I poked around the documentation a bit, but not sure I saw any definitive examples for Helix configuration. I have a the bare-minimum working below in my Helix
It wasn't obvious to me that the With that said, any recommendations for best settings beyond that? I think I want to add some sort of de-bouncer setting since this is firing way to often as I type, but not clear to me yet the best spot to put that. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@nyonson It is possible to use all the same settings as shown here for Neovim, but in Helix. You'll only need to wrap all the configuration options there under the Here's an example of how it currently works: [language-server.harper-ls]
args = ["--stdio"]
command = "harper-ls"
# notice the key:
config = { harper-ls = { diagnosticSeverity = "error", linters = { long_sentences = false } } } That config makes all the diagnostics appear as errors instead of hints (which is the default), and also disables the long sentences lint. Unfortunately, there's no debouncing or similar config option yet. |
Beta Was this translation helpful? Give feedback.
-
From my understanding of the language server protocol, servers are not supposed to perform debouncing. That is the responsibility of the editor. I'm not sure Helix supports that though, as I've honestly never used it. |
Beta Was this translation helpful? Give feedback.
-
FWIW I am running helix version |
Beta Was this translation helpful? Give feedback.
@nyonson It is possible to use all the same settings as shown here for Neovim, but in Helix. You'll only need to wrap all the configuration options there under the
harper-ls
key in TOML dictionary.Here's an example of how it currently works:
That config makes all the diagnostics appear as errors instead of hints (which is the default), and also disables the long sentences lint. Unfortunately, there's no debouncing or similar config option yet.