vscodium: move mypy and black to own extensions due to deprecation
This commit is contained in:
parent
f2917af591
commit
f5b29c30dc
|
@ -320,7 +320,7 @@ in
|
||||||
eamodio.gitlens
|
eamodio.gitlens
|
||||||
jnoortheen.nix-ide
|
jnoortheen.nix-ide
|
||||||
mkhl.direnv
|
mkhl.direnv
|
||||||
# kamadorueda.alejandra
|
kamadorueda.alejandra
|
||||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
{
|
{
|
||||||
name = "Sync-Rsync";
|
name = "Sync-Rsync";
|
||||||
|
@ -328,6 +328,19 @@ in
|
||||||
version = "0.36.0";
|
version = "0.36.0";
|
||||||
sha256 = "sha256-0b/OHLZfXo0NAVAVkzZSqMGDzF0uvPRoiqsZtW1iOdA";
|
sha256 = "sha256-0b/OHLZfXo0NAVAVkzZSqMGDzF0uvPRoiqsZtW1iOdA";
|
||||||
}
|
}
|
||||||
|
# TODO: probably available in nixpkgs soonish?
|
||||||
|
{
|
||||||
|
name = "mypy-type-checker";
|
||||||
|
publisher = "ms-python";
|
||||||
|
version = "2023.3.12681020";
|
||||||
|
sha256 = "sha256-rhed7CQlvxksVCGc9nPU2oYQWtXcAV5TzuG63e8Y3zM=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "black-formatter";
|
||||||
|
publisher = "ms-python";
|
||||||
|
version = "2023.5.12771008";
|
||||||
|
sha256 = "sha256-lJG0RRUUMhQGs2a6oBtoqt+uY1kSJ0+cbmaP07hNh2o=";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"editor.fontLigatures" = true;
|
"editor.fontLigatures" = true;
|
||||||
|
@ -345,9 +358,13 @@ in
|
||||||
"gitlens.codeLens.symbolScopes" = [
|
"gitlens.codeLens.symbolScopes" = [
|
||||||
"!Module"
|
"!Module"
|
||||||
];
|
];
|
||||||
|
"editor.defaultFormatter" = "ms-python.black-formatter";
|
||||||
|
"editor.formatOnSave" = true;
|
||||||
};
|
};
|
||||||
"python.languageServer" = "Jedi"; # don't use proprietary pylance server
|
"python.languageServer" = "Jedi"; # don't use proprietary pylance server
|
||||||
"python.formatting.blackPath" = "/Users/os/.nix-profile/bin/black";
|
"black-formatter.path" = ["~/.nix-profile/bin/mypy"];
|
||||||
|
"mypy-type-checker.path" = ["~/.nix-profile/bin/black"];
|
||||||
|
"mypy-type-checker.importStrategy" = "fromEnvironment";
|
||||||
"gitlens.telemetry.enabled" = false;
|
"gitlens.telemetry.enabled" = false;
|
||||||
"vim.highlightedyank.enable" = true;
|
"vim.highlightedyank.enable" = true;
|
||||||
"vim.history" = 500;
|
"vim.history" = 500;
|
||||||
|
|
Loading…
Reference in a new issue