helix: LSP
LSP/FORMATER
helix --health lang_name
# for example
helix --health markdown
This flag enables a info dump that showes you what you can setup.
Spellchecking
Spellchecking can be done via a multitude of tools, lsp and non-lsp.
Notable mentions:
- ltex-ls-plus → uses LanguageTool
- Harper
- typos-lsp
- Vale.sh
ltex-ls-plus has a high memory and CPU usage. It is also a bit slow.
[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.