mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 13:50:51 +01: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 = {
|
||||
command = "rnix-lsp";
|
||||
filetypes = [
|
||||
"nix"
|
||||
];
|
||||
command = "nil";
|
||||
filetypes = [ "nix" ];
|
||||
rootPatterns = [ "flake.nix" ];
|
||||
settings = {
|
||||
nil = {
|
||||
formatting = { command = [ "nixpkgs-fmt" ]; };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -90,7 +94,7 @@ with lib;
|
|||
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 = ''
|
||||
luafile ${./settings.lua}
|
||||
|
|
Loading…
Add table
Reference in a new issue