@@ -16,6 +16,7 @@ injection-regex = "^mylang$"
1616file-types = ["mylang", "myl"]
1717comment-token = "#"
1818indent = { tab-width = 2, unit = " " }
19+language-server = { command = "mylang-lsp", args = ["--stdio"] }
1920```
2021
2122These are the available keys and descriptions for the file.
@@ -32,9 +33,14 @@ These are the available keys and descriptions for the file.
3233| `diagnostic-severity` | Minimal severity of diagnostic for it to be displayed. (Allowed values: `Error`, `Warning`, `Info`, `Hint`) |
3334| `comment-token` | The token to use as a comment-token |
3435| `indent` | The indent to use. Has sub keys `tab-width` and `unit` |
35−| `config` | Language server configuration |
36+| `language-server` | The Language Server to run. Has sub keys `command` and `args` |
37+| `config` | Language Server configuration |
3638| `grammar` | The tree-sitter grammar to use (defaults to the value of `name`) |
3739
40+When adding a Language Server configuration, be sure to update the
41+[Language Server Wiki](https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers)
42+with installation notes.
43+
3844## Grammar configuration
3945
4046If a tree-sitter grammar is available for the language, add a new `grammar`