Enables nixd in VSCode
This commit is contained in:
parent
ce66acad06
commit
6459402c77
@ -9,6 +9,7 @@ let
|
||||
nix-tree
|
||||
nixfmt
|
||||
nvd
|
||||
nixd
|
||||
statix
|
||||
cachix
|
||||
nix-output-monitor
|
||||
|
@ -108,6 +108,13 @@ in {
|
||||
|
||||
nix = {
|
||||
formatterPath = "${pkgs.nixfmt}/bin/nixfmt";
|
||||
enableLanguageServer = true;
|
||||
serverPath = "nixd";
|
||||
serverSettings = {
|
||||
nixd = {
|
||||
formatting.command = [ "nixfmt" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
oneDarkPro = {
|
||||
|
Loading…
Reference in New Issue
Block a user