On this page

Get the tracked Helix configuration working with its formatters and language servers. Helix is the primary editor; it needs no plugin submodules.

Prerequisites

  • An installed dotfiles checkout; the configuration is in ~/.config/helix/.
  • Helix (hx) on PATH.
  • Optional: the language servers below. Helix runs without them and reports each missing one in its health check.
LanguageServers and formattersInstalled by the mise toolchain
Markdownrumdl, marksman, ryl, harper-ls, markdown-oxideAll except markdown-oxide
YAMLryl, yaml-language-server, ansible-language-serverAll except ansible-language-server
Bashbash-language-server, shfmtAll
Git commit messagesharper-lsYes

Install Helix and the language servers

With mise, install the machine toolchain from ~/.config/mise/, which includes Helix:

mise install

Without mise, install Helix from your package manager or from https://helix-editor.com, then install the servers you need.

Verify

The health check lists each configured server with ✓ when it is on PATH:

hx --health markdown

✘ marks a missing server; Helix still opens files of that language without it.

Change a setting

  1. Edit ~/.config/helix/config.toml for editor settings, or ~/.config/helix/languages.toml for language servers.

  2. Run :config-reload in Helix, or restart it.

  3. Commit the change by name:

    cd ~ && dotfiles add .config/helix/config.toml && dotfiles commit