added vscode config
This commit is contained in:
parent
e9d661a743
commit
cc96733be8
@ -14,8 +14,22 @@
|
|||||||
];
|
];
|
||||||
extensions = with pkgs.vscode-extensions; [
|
extensions = with pkgs.vscode-extensions; [
|
||||||
jnoortheen.nix-ide
|
jnoortheen.nix-ide
|
||||||
|
arrterian.nix-env-selector
|
||||||
|
mkhl.direnv
|
||||||
ms-python.python
|
ms-python.python
|
||||||
ms-python.vscode-pylance
|
ms-python.vscode-pylance
|
||||||
james-yu.latex-workshop
|
james-yu.latex-workshop
|
||||||
];
|
];
|
||||||
|
userSettings = {
|
||||||
|
"window.menuBarVisibility" = "hidden";
|
||||||
|
"nix.enableLanguageServer" = true;
|
||||||
|
"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
||||||
|
"nix.serverSettings" = {
|
||||||
|
nil = {
|
||||||
|
formatting = { command = ["${pkgs.alejandra}/bin/alejandra"]; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"direnv.path.executable" = "${pkgs.direnv}/bin/direnv";
|
||||||
|
"latex-workshop.latex.outDir" = "%DIR%/out";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user