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