Language Support
The following languages and Language Servers are supported. In order to use Language Server features, you must first install the appropriate Language Server.
Check the language support in your installed helix version with hx --health
.
Also see the Language Configuration docs and the Adding Languages guide for more language configuration information.
Language | Syntax Highlighting | Treesitter Textobjects | Auto Indent | Default LSP |
---|---|---|---|---|
bash | ✓ | bash-language-server | ||
c | ✓ | ✓ | ✓ | clangd |
c-sharp | ✓ | OmniSharp | ||
cairo | ✓ | |||
clojure | ✓ | clojure-lsp | ||
cmake | ✓ | ✓ | ✓ | cmake-language-server |
comment | ✓ | |||
cpon | ✓ | ✓ | ||
cpp | ✓ | ✓ | ✓ | clangd |
css | ✓ | vscode-css-language-server | ||
dart | ✓ | ✓ | dart | |
devicetree | ✓ | ✓ | ||
dockerfile | ✓ | docker-langserver | ||
edoc | ✓ | |||
eex | ✓ | |||
ejs | ✓ | |||
elixir | ✓ | ✓ | elixir-ls | |
elm | ✓ | elm-language-server | ||
elvish | ✓ | elvish | ||
erb | ✓ | |||
erlang | ✓ | ✓ | erlang_ls | |
fish | ✓ | ✓ | ✓ | |
fortran | ✓ | ✓ | fortls | |
gdscript | ✓ | ✓ | ||
git-attributes | ✓ | |||
git-commit | ✓ | |||
git-config | ✓ | |||
git-diff | ✓ | |||
git-ignore | ✓ | |||
git-rebase | ✓ | |||
gleam | ✓ | ✓ | gleam | |
glsl | ✓ | ✓ | ✓ | |
go | ✓ | ✓ | ✓ | gopls |
gomod | ✓ | gopls | ||
gotmpl | ✓ | gopls | ||
gowork | ✓ | gopls | ||
graphql | ✓ | |||
hare | ✓ | ✓ | ||
haskell | ✓ | haskell-language-server-wrapper | ||
hcl | ✓ | ✓ | terraform-ls | |
heex | ✓ | ✓ | ||
html | ✓ | vscode-html-language-server | ||
idris | idris2-lsp | |||
iex | ✓ | |||
java | ✓ | jdtls | ||
javascript | ✓ | ✓ | typescript-language-server | |
jsdoc | ✓ | |||
json | ✓ | ✓ | vscode-json-language-server | |
jsx | ✓ | ✓ | typescript-language-server | |
julia | ✓ | julia | ||
kotlin | ✓ | kotlin-language-server | ||
latex | ✓ | texlab | ||
lean | ✓ | lean | ||
ledger | ✓ | |||
llvm | ✓ | ✓ | ✓ | |
llvm-mir | ✓ | ✓ | ✓ | |
llvm-mir-yaml | ✓ | ✓ | ||
lua | ✓ | ✓ | lua-language-server | |
make | ✓ | |||
markdown | ✓ | |||
meson | ✓ | ✓ | ||
mint | mint | |||
nickel | ✓ | ✓ | nls | |
nix | ✓ | ✓ | rnix-lsp | |
nu | ✓ | |||
ocaml | ✓ | ✓ | ocamllsp | |
ocaml-interface | ✓ | ocamllsp | ||
odin | ✓ | |||
openscad | ✓ | openscad-language-server | ||
org | ✓ | |||
perl | ✓ | ✓ | ✓ | |
php | ✓ | ✓ | ✓ | intelephense |
prisma | ✓ | prisma-language-server | ||
prolog | swipl | |||
protobuf | ✓ | ✓ | ||
python | ✓ | ✓ | pylsp | |
r | ✓ | R | ||
racket | racket | |||
regex | ✓ | |||
rescript | ✓ | ✓ | rescript-language-server | |
rmarkdown | ✓ | ✓ | R | |
ron | ✓ | ✓ | ||
ruby | ✓ | ✓ | ✓ | solargraph |
rust | ✓ | ✓ | ✓ | rust-analyzer |
scala | ✓ | ✓ | metals | |
scheme | ✓ | |||
scss | ✓ | vscode-css-language-server | ||
solidity | ✓ | solc | ||
sql | ✓ | |||
sshclientconfig | ✓ | |||
starlark | ✓ | ✓ | ||
svelte | ✓ | ✓ | svelteserver | |
swift | ✓ | sourcekit-lsp | ||
tablegen | ✓ | ✓ | ✓ | |
tfvars | terraform-ls | |||
toml | ✓ | taplo | ||
tsq | ✓ | |||
tsx | ✓ | typescript-language-server | ||
twig | ✓ | |||
typescript | ✓ | ✓ | typescript-language-server | |
ungrammar | ✓ | |||
v | ✓ | vls | ||
vala | ✓ | vala-language-server | ||
verilog | ✓ | ✓ | svlangserver | |
vue | ✓ | vls | ||
wgsl | ✓ | wgsl_analyzer | ||
yaml | ✓ | ✓ | yaml-language-server | |
zig | ✓ | ✓ | zls |