@@ -16,6 +16,7 @@ injection-regex = "^mylang$"
16file-types = ["mylang", "myl"]
16file-types = ["mylang", "myl"]
17comment-token = "#"
17comment-token = "#"
18indent = { tab-width = 2, unit = " " }
18indent = { tab-width = 2, unit = " " }
19+language-server = { command = "mylang-lsp", args = ["--stdio"] }
21These are the available keys and descriptions for the file.
22These are the available keys and descriptions for the file.
@@ -32,9 +33,14 @@ These are the available keys and descriptions for the file.
32| `diagnostic-severity` | Minimal severity of diagnostic for it to be displayed. (Allowed values: `Error`, `Warning`, `Info`, `Hint`) |
33| `diagnostic-severity` | Minimal severity of diagnostic for it to be displayed. (Allowed values: `Error`, `Warning`, `Info`, `Hint`) |
33| `comment-token` | The token to use as a comment-token |
34| `comment-token` | The token to use as a comment-token |
34| `indent` | The indent to use. Has sub keys `tab-width` and `unit` |
35| `indent` | The indent to use. Has sub keys `tab-width` and `unit` |
36+| `language-server` | The Language Server to run. Has sub keys `command` and `args` |
35−| `config` | Language server configuration |
37+| `config` | Language Server configuration |
36| `grammar` | The tree-sitter grammar to use (defaults to the value of `name`) |
38| `grammar` | The tree-sitter grammar to use (defaults to the value of `name`) |
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.
38## Grammar configuration
44## Grammar configuration
40If a tree-sitter grammar is available for the language, add a new `grammar`
46If a tree-sitter grammar is available for the language, add a new `grammar`