Skip to content

Helix

View as Markdown

oxyaml is a drop-in replacement for yaml-language-server. Override Helix’s built-in yaml-language-server command and all existing [language-server.yaml-language-server.config] settings (yaml.schemas, yaml.format.enable, modelines, etc.) keep working unchanged without Node.js.

Status: TOML syntax is valid; hx --health yaml is untested in this environment (hx is not installed locally).

Prerequisites

Install oxyaml and make sure oxyaml is on your PATH.

Configuration

Add to ~/.config/helix/languages.toml (or .helix/languages.toml in a project):

[language-server.yaml-language-server]
command = "oxyaml"
args = ["--stdio"]

This one-line change (command = "oxyaml" instead of "yaml-language-server") applies across every language in Helix’s default languages.toml that uses yaml-language-server (yaml, docker-compose, github-action, gitlab-ci, woodpecker-ci).

Verify in Helix with:

Terminal window
hx --health yaml