Add alternative nil lsp
This commit is contained in:
parent
c3cc521997
commit
c56cadcbea
|
|
@ -1,19 +1,20 @@
|
|||
{
|
||||
// Nix settings
|
||||
"nix.formatterPath": [
|
||||
"nixpkgs-fmt",
|
||||
"nixfmt",
|
||||
"treefmt",
|
||||
"--stdin",
|
||||
"{file}",
|
||||
"nix",
|
||||
"fmt",
|
||||
"--",
|
||||
"-",
|
||||
],
|
||||
"nix.enableLanguageServer": true,
|
||||
"nix.serverPath": "nixd",
|
||||
"nix.serverSettings": {
|
||||
"nil": {
|
||||
"formatting": {
|
||||
"command": ["nix fmt"]
|
||||
},
|
||||
"nix": {
|
||||
"flake": {
|
||||
"maxMemoryMB": 16384,
|
||||
"autoEvalInputs": true,
|
||||
"nixpkgsInputName": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"nixd": {
|
||||
"nixpkgs": {
|
||||
"expr": "(builtins.getFlake \"${workspaceFolder}/flake.nix\").inputs.nixpkgs { }"
|
||||
|
|
|
|||
Loading…
Reference in New Issue