@@ -37,9 +37,11 @@ These are the available keys and descriptions for the file.
37| `config` | Language Server configuration |
37| `config` | Language Server configuration |
38| `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 new language or Language Server configuration for an existing
41+language, run `cargo xtask docgen` to add the new configuration to the
42+[Language Support][lang-support] docs before creating a pull request.
40When adding a Language Server configuration, be sure to update the
43When 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.
44+[Language Server Wiki][install-lsp-wiki] with installation notes.
44## Grammar configuration
46## Grammar configuration
@@ -94,3 +96,5 @@ the last matching query supersedes the ones before it. See
94[treesitter-language-injection]: https://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection
96[treesitter-language-injection]: https://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection
95[languages.toml]: https://github.com/helix-editor/helix/blob/master/languages.toml
97[languages.toml]: https://github.com/helix-editor/helix/blob/master/languages.toml
96[neovim-query-precedence]: https://github.com/helix-editor/helix/pull/1170#issuecomment-997294090
98[neovim-query-precedence]: https://github.com/helix-editor/helix/pull/1170#issuecomment-997294090
99+[install-lsp-wiki]: https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers
100+[lang-support]: ../lang-support.md