{
"_comment": "SPDX-License-Identifier: Apache-2.0 OR MIT — Zed LSP config for noyalib-lsp (the LSP server, distinct from the noyalib-mcp context-server config)",
"_install_path": {
"macOS": "~/.config/zed/settings.json",
"Linux": "~/.config/zed/settings.json",
"Windows": "%APPDATA%\\Zed\\settings.json"
},
"_usage": "Merge the lsp + languages blocks below into your Zed settings.json. Restart Zed (or 'zed: reload settings') after saving.",
"lsp": {
"noyalib-lsp": {
"binary": {
"path": "noyalib-lsp",
"arguments": []
}
}
},
"_alt_absolute_path_if_not_on_path": {
"lsp": {
"noyalib-lsp": {
"binary": {
"path": "/Users/<you>/.cargo/bin/noyalib-lsp",
"arguments": []
}
}
}
},
"languages": {
"YAML": {
"language_servers": ["noyalib-lsp"],
"format_on_save": "on",
"tab_size": 2
}
},
"_capabilities_advertised": [
"textDocument/publishDiagnostics — inline syntax errors",
"textDocument/formatting — bound to Zed's `editor: format` action",
"textDocument/hover — bound to Zed's hover-on-cursor"
],
"_verify": [
"Open a .yaml file. Zed announces 'noyalib-lsp' in the language-server status bar.",
"Save the file — `format_on_save: on` triggers a textDocument/formatting round-trip.",
"Hover over a key — Zed renders the LSP hover response inline."
],
"_note_distinct_from_mcp": "This file configures noyalib-lsp (the YAML language server). The MCP context-server config for noyalib-mcp (which exposes get/set tools to the Zed assistant) is a separate snippet at crates/noyalib-mcp/examples/client-zed.json."
}