feat: changed nix lsp to nil

This commit is contained in:
Julien Malka 2023-04-06 21:40:39 +02:00
parent 0138276ef5
commit 2dfa62d6a3
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -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}