语言支持

支持以下语言和语言服务器。要使用语言服务器功能,你必须首先安装 lsp

使用 hx --health 检查你安装的 Helix 版本中的语言支持。

有关语言配置的更多信息,请参阅 语言配置 文档和 添加语言 指南。

LanguageSyntax HighlightingTreesitter TextobjectsAuto IndentDefault LSP
astro
awkawk-language-server
bashbash-language-server
bassbass
beancount
cclangd
c-sharpOmniSharp
cairo
clojureclojure-lsp
cmakecmake-language-server
comment
cpon
cppclangd
cssvscode-css-language-server
cuecuelsp
dartdart
devicetree
diff
dockerfiledocker-langserver
dotdot-language-server
edoc
eex
ejs
elixirelixir-ls
elmelm-language-server
elvishelvish
erb
erlangerlang_ls
esdl
fish
fortranfortls
gdscript
git-attributes
git-commit
git-config
git-ignore
git-rebase
gleamgleam
glsl
gogopls
godot-resource
gomodgopls
gotmplgopls
goworkgopls
graphql
hare
haskellhaskell-language-server-wrapper
hclterraform-ls
heex
htmlvscode-html-language-server
idrisidris2-lsp
iex
javajdtls
javascripttypescript-language-server
jsdoc
jsonvscode-json-language-server
jsonnetjsonnet-language-server
jsxtypescript-language-server
juliajulia
kotlinkotlin-language-server
latextexlab
leanlean
ledger
llvm
llvm-mir
llvm-mir-yaml
lualua-language-server
make
markdownmarksman
markdown.inline
meson
mintmint
nickelnls
nixrnix-lsp
nu
ocamlocamllsp
ocaml-interfaceocamllsp
odinols
openscadopenscad-lsp
org
pascalpasls
perl
phpintelephense
prismaprisma-language-server
prologswipl
protobuf
pythonpylsp
rR
racketracket
regex
rescriptrescript-language-server
rmarkdownR
ron
rubysolargraph
rustrust-analyzer
scalametals
scheme
scssvscode-css-language-server
slintslint-lsp
sml
soliditysolc
sql
sshclientconfig
starlark
sveltesvelteserver
swiftsourcekit-lsp
tablegen
task
tfvarsterraform-ls
tomltaplo
tsq
tsxtypescript-language-server
twig
typescripttypescript-language-server
ungrammar
vvls
valavala-language-server
verilogsvlangserver
vuevls
wast
wat
wgslwgsl_analyzer
xit
yamlyaml-language-server
zigzls