improvements for vscode pwsh extension

This commit is contained in:
John Bowdre 2023-08-04 07:57:48 -05:00
parent 9d267a82e6
commit 473f39b7ec

View file

@ -1,4 +1,4 @@
{ outputs, pkgs, lib, ... }: { { config, outputs, pkgs, lib, ... }: {
programs.vscode = { programs.vscode = {
enable = true; enable = true;
@ -103,6 +103,10 @@
"yaml" = true; "yaml" = true;
}; };
"powershell.codeFormatting.useCorrectCasing" = true; "powershell.codeFormatting.useCorrectCasing" = true;
"powershell.powerShellAdditionalExePaths" = {
"pwsh" = "${config.home.homeDirectory}/.nix-profile/bin/pwsh";
};
"powershell.promptToUpdatePowerShell" = false;
"security.workspace.trust.untrustedFiles" = "open"; "security.workspace.trust.untrustedFiles" = "open";
"vim.statusBarColorControl" = true; "vim.statusBarColorControl" = true;
"vim.useCtrlKeys" = false; "vim.useCtrlKeys" = false;