|
7 | 7 | } |
8 | 8 | --- |
9 | 9 |
|
10 | | -In-Editor Config (or Workspace Config) will integrate with the config system of your editor to configure ZLS on a per-editor basis. |
11 | | - |
12 | | -Some editors (like VS Code) also allow workspace-specific configuration. If you want to share the same configuration across multiple editors, please refer to the [zls.json]($link.page('zls/configure/zls-json')) alternative. |
| 10 | +In-Editor Config (a.k.a workspace configuration) will integrate with the config system of your editor to configure ZLS on a per-editor basis. Most editors also support per-project configuration. |
13 | 11 |
|
14 | 12 | ## Supported Editors |
15 | 13 |
|
16 | | -| Editor | in-editor config support | |
17 | | -| ------------------------------------------------------------- | ------------------------- | |
18 | | -| [VS Code](/zls/editors/vscode) | Yes | |
19 | | -| [Sublime Text](/zls/editors/sublime-text) | Yes | |
20 | | -| [ZigBrains for JetBrains](/zls/editors/jetbrains) | Limited\* | |
21 | | -| [Helix](/zls/editors/helix) | Yes | |
22 | | -| [Zed](/zls/editors/zed) | Yes | |
23 | | -| [Neovim with nvim-lspconfig](/zls/editors/vim/nvim-lspconfig) | Yes | |
24 | | -| [Vim/Neovim with CoC](/zls/editors/vim/coc) | Yes | |
25 | | -| [Vim/Neovim with YCM](/zls/editors/vim/ycm) | Yes\*\* | |
26 | | -| [Emacs with eglot](/zls/editors/emacs) | Yes | |
27 | | -| [Emacs with lsp-mode](/zls/editors/emacs) | Yes | |
28 | | -| [Kate](/zls/editors/kate) | Yes | |
| 14 | +| Editor | supported? | |
| 15 | +| ------------------------------------------------------------- | ---------- | |
| 16 | +| [VS Code](/zls/editors/vscode) | Yes | |
| 17 | +| [Sublime Text](/zls/editors/sublime-text) | Yes | |
| 18 | +| [ZigBrains for JetBrains](/zls/editors/jetbrains) | Limited\* | |
| 19 | +| [Helix](/zls/editors/helix) | Yes | |
| 20 | +| [Zed](/zls/editors/zed) | Yes | |
| 21 | +| [Neovim with nvim-lspconfig](/zls/editors/vim/nvim-lspconfig) | Yes | |
| 22 | +| [Vim/Neovim with CoC](/zls/editors/vim/coc) | Yes | |
| 23 | +| [Vim/Neovim with YCM](/zls/editors/vim/ycm) | Yes | |
| 24 | +| [Emacs with eglot](/zls/editors/emacs) | Yes | |
| 25 | +| [Emacs with lsp-mode](/zls/editors/emacs) | Yes | |
| 26 | +| [Kate](/zls/editors/kate) | Yes | |
29 | 27 |
|
30 | 28 | \* Only a subset of config options are available. |
31 | 29 |
|
32 | | -\*\* In-Editor configuration is somewhat tedious to setup for this Editor. You may favor the [zls.json]($link.page('zls/configure/zls-json')) alternative. |
| 30 | +## Available Config Options |
| 31 | + |
| 32 | +Most editors do not know which config options are available for a language server like ZLS. ZLS provides a [JSON Schema](https://github.com/zigtools/zls/blob/master/schema.json) that can be used to find all available config options. |
| 33 | + |
| 34 | +Be aware that configuration options change over time. The linked schema file above assumes that you are using ZLS nightly/master. When using a tagged release of ZLS, use the JSON Schema file corresponding to that version, like so: |
| 35 | + |
| 36 | +``` |
| 37 | +https://raw.githubusercontent.com/zigtools/zls/refs/tags/<ZLS_VERSION_HERE>/schema.json |
| 38 | +``` |
0 commit comments