helix: LSP


#syntax #code #tool #configuration

LSP/FORMATER

helix --health lang_name

# for example

helix --health markdown

This flag enables an info dump that shows you what you can set up.

Spellchecking

Spellchecking can be done via a multitude of tools, LSP and non-LSP.

Notable mentions:

ltex-ls-plus has a high memory and CPU usage. It is also a bit slow. But it handles [FR].

[language-server.ltex-ls-plus.config]
ltex.diagnosticSeverity = "warning"
ltex.disabledRules = { "en-US" = ["PROFANITY"], "en-GB" = ["PROFANITY"] }
ltex.dictionary = { "en-US" = ["builtin"], "en-GB" = ["builtin"] }

Markdown

I used dprint for Markdown combined with markdownlint. But dprint can do much more.

Jinja

Tera (rust templating language)

Formaters

For the official lists. I recommend using anything other than JavaScript/TypeScript LSP's and formaters. Beware high memory usage.

Back to the top ↑