After many years on Vim, I've been testing Helix for quite some time now, and I really like it.

Unlike Vim, Helix doesn't include a spell checker natively. However, Helix has built-in support for LSP, which makes it easy to pair it with an LSP-based spell checker such as Harper. All you need is tweaking a bit your languages.toml Helix configuration file as explained in the official documentation.

After configuring Helix to spell check all the filetypes I manipulate the most (e.g. Markdown, Typst, Rust), I realised I lost spellchecking when committing changes with git commit. Thankfully, Helix's default languages.toml includes a language definition for Git commits:

[[language]]
name = "git-commit"
scope = "git.commitmsg"
file-types = [{ glob = "COMMIT_EDITMSG" }, { glob = "MERGE_MSG" }]
comment-token = "#"
indent = { tab-width = 4, unit = "    " }
rulers = [51, 73]
text-width = 72
grammar = "gitcommit"

To spell check your Git commit messages with Harper from Helix, simply add the following language section to your own languages.toml configuration file located in ~/.config/helix/languages.toml:

[[language]]
name = "git-commit"
language-servers = [ "harper-ls" ]