In-Editor Config
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.
Supported Editors
Editor | supported? |
---|---|
VS Code | Yes |
Sublime Text | Yes |
ZigBrains for JetBrains | Limited* |
Helix | Yes |
Zed | Yes |
Neovim with nvim-lspconfig | Yes |
Vim/Neovim with CoC | Yes |
Vim/Neovim with YCM | Yes |
Emacs with eglot | Yes |
Emacs with lsp-mode | Yes |
Kate | Yes |
* Only a subset of config options are available.
Available Config Options
Most editors do not know which config options are available for a language server like ZLS. ZLS provides a JSON Schema that can be used to find all available config options.
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:
https://raw.githubusercontent.com/zigtools/zls/refs/tags/<ZLS_VERSION_HERE>/schema.json