Nautilus Schema for Zed
Language support for the Nautilus schema DSL (*.nautilus) in Zed.
Features
- Syntax highlighting (Tree-sitter based)
- Brackets and comments
- Snippets
- Language Server Protocol (LSP) integration via
nautilus-lsp(diagnostics, completion, hover, go-to-definition, formatting)
Requirements
- By default, the extension auto-downloads
nautilus-lspon first use. - If you disable auto-download, you must either have
nautilus-lspon yourPATHor configurelspPathin Zed settings (see below).
Configuration
To override the LSP binary path, add the following to your Zed settings:
{
"lsp": {
"nautilus-lsp": {
"settings": {
"nautilus": {
"lspPath": "/absolute/path/to/nautilus-lsp"
}
}
}
}
}To disable auto-download and require a path or PATH-resolved binary:
{
"lsp": {
"nautilus-lsp": {
"settings": {
"nautilus": {
"autoDownload": false
}
}
}
}
}Notes
- The grammar uses the
tree-sitter-nautilusparser. - Snippets are ported from the VS Code extension.
- When auto-downloaded, the
nautilus-lspbinary is cached under the extension’s working directory incache/nautilus-lsp-<version>/. - The extension is licensed under MIT (see
LICENSE).
Development (local)
- Open Zed.
- Run Install Dev Extension and select the
nautilus-zeddirectory. - Open a
.nautilusfile to verify highlighting and LSP behavior.