mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-31 17:20:53 +02:00
feat: changed nix lsp to nil
This commit is contained in:
parent
0138276ef5
commit
2dfa62d6a3
1 changed files with 9 additions and 5 deletions
|
@ -40,10 +40,14 @@ with lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
command = "rnix-lsp";
|
command = "nil";
|
||||||
filetypes = [
|
filetypes = [ "nix" ];
|
||||||
"nix"
|
rootPatterns = [ "flake.nix" ];
|
||||||
];
|
settings = {
|
||||||
|
nil = {
|
||||||
|
formatting = { command = [ "nixpkgs-fmt" ]; };
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -90,7 +94,7 @@ with lib;
|
||||||
rust-vim
|
rust-vim
|
||||||
];
|
];
|
||||||
|
|
||||||
extraPackages = with pkgs; [ rust-analyzer rnix-lsp pyright haskell-language-server ];
|
extraPackages = with pkgs; [ rust-analyzer nil pyright haskell-language-server nixpkgs-fmt ];
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
luafile ${./settings.lua}
|
luafile ${./settings.lua}
|
||||||
|
|
Loading…
Add table
Reference in a new issue