feat: add nixd option completion, just-lsp config, and vscode nix settings

This commit is contained in:
2026-04-11 23:42:24 +08:00
parent 95891aa441
commit fbd6761040
4 changed files with 32 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"nix.enableLanguageServer": true,
"nix.serverPath": "nixd",
"nix.serverSettings": {
"nixd": {
"formatting": {
"command": ["nixfmt"]
},
"nixpkgs": {
"expr": "import <nixpkgs> {}"
}
}
}
}