@ -653,10 +653,12 @@ you to selectively add search terms to your selections.</p>
< tr > < td > < code > :config-open< / code > < / td > < td > Open the helix config.toml file.< / td > < / tr >
< tr > < td > < code > :config-open< / code > < / td > < td > Open the helix config.toml file.< / td > < / tr >
< / tbody > < / table >
< / tbody > < / table >
< div style = "break-before: page; page-break-before: always;" > < / div > < h1 id = "language-support" > < a class = "header" href = "#language-support" > Language Support< / a > < / h1 >
< div style = "break-before: page; page-break-before: always;" > < / div > < h1 id = "language-support" > < a class = "header" href = "#language-support" > Language Support< / a > < / h1 >
< p > For more information like arguments passed to default LSP server,
< p > The following languages and Language Servers are supported. In order to use
extensions assosciated with a filetype, custom LSP settings, filetype
Language Server features, you must first < a href = "https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers" > install< / a > the
specific indent settings, etc see the default
appropriate Language Server.< / p >
< a href = "https://github.com/helix-editor/helix/blob/master/languages.toml" > < code > languages.toml< / code > < / a > file.< / p >
< p > Check the language support in your installed helix version with < code > hx --health< / code > .< / p >
< p > Also see the < a href = "./languages.html" > Language Configuration< / a > docs and the < a href = "./guides/adding_languages.html" > Adding
Languages< / a > guide for more language configuration information.< / p >
< table > < thead > < tr > < th > Language< / th > < th > Syntax Highlighting< / th > < th > Treesitter Textobjects< / th > < th > Auto Indent< / th > < th > Default LSP< / th > < / tr > < / thead > < tbody >
< table > < thead > < tr > < th > Language< / th > < th > Syntax Highlighting< / th > < th > Treesitter Textobjects< / th > < th > Auto Indent< / th > < th > Default LSP< / th > < / tr > < / thead > < tbody >
< tr > < td > bash< / td > < td > ✓< / td > < td > < / td > < td > < / td > < td > < code > bash-language-server< / code > < / td > < / tr >
< tr > < td > bash< / td > < td > ✓< / td > < td > < / td > < td > < / td > < td > < code > bash-language-server< / code > < / td > < / tr >
< tr > < td > c< / td > < td > ✓< / td > < td > ✓< / td > < td > ✓< / td > < td > < code > clangd< / code > < / td > < / tr >
< tr > < td > c< / td > < td > ✓< / td > < td > ✓< / td > < td > ✓< / td > < td > < code > clangd< / code > < / td > < / tr >
@ -1259,9 +1261,11 @@ language-server = { command = "mylang-lsp", args = ["--stdio"
< tr > < td > < code > config< / code > < / td > < td > Language Server configuration< / td > < / tr >
< tr > < td > < code > config< / code > < / td > < td > Language Server configuration< / td > < / tr >
< tr > < td > < code > grammar< / code > < / td > < td > The tree-sitter grammar to use (defaults to the value of < code > name< / code > )< / td > < / tr >
< tr > < td > < code > grammar< / code > < / td > < td > The tree-sitter grammar to use (defaults to the value of < code > name< / code > )< / td > < / tr >
< / tbody > < / table >
< / tbody > < / table >
< p > When adding a Language Server configuration, be sure to update the
< p > When adding a new language or Language Server configuration for an existing
< a href = "https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers" > Language Server Wiki< / a >
language, run < code > cargo xtask docgen< / code > to add the new configuration to the
with installation notes.< / p >
< a href = "guides/../lang-support.html" > Language Support< / a > docs before creating a pull request.
When adding a Language Server configuration, be sure to update the
< a href = "https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers" > Language Server Wiki< / a > with installation notes.< / p >
< h2 id = "grammar-configuration" > < a class = "header" href = "#grammar-configuration" > Grammar configuration< / a > < / h2 >
< h2 id = "grammar-configuration" > < a class = "header" href = "#grammar-configuration" > Grammar configuration< / a > < / h2 >
< p > If a tree-sitter grammar is available for the language, add a new < code > grammar< / code >
< p > If a tree-sitter grammar is available for the language, add a new < code > grammar< / code >
entry to < code > languages.toml< / code > .< / p >
entry to < code > languages.toml< / code > .< / p >