Skip to content

Helix Configuration #135

Answered by novusnota
nyonson asked this question in Q&A
Discussion options

You must be logged in to vote

@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:

[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.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nyonson
Comment options

You must be logged in to vote
0 replies
Comment options

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