vscodium: reference black and mypy directly from nix store
This commit is contained in:
parent
25794fd364
commit
e84b06a09e
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with pkgs;
|
||||
let
|
||||
|
@ -362,9 +362,9 @@ in
|
|||
"editor.formatOnSave" = true;
|
||||
};
|
||||
"python.languageServer" = "Jedi"; # don't use proprietary pylance server
|
||||
"black-formatter.path" = ["~/.nix-profile/bin/mypy"];
|
||||
"black-formatter.path" = ["${pkgs.python3Packages.black}/bin/black"];
|
||||
"black-formatter.importStrategy" = "fromEnvironment";
|
||||
"mypy-type-checker.path" = ["~/.nix-profile/bin/black"];
|
||||
"mypy-type-checker.path" = ["${pkgs.python3Packages.mypy}/bin/mypy"];
|
||||
"mypy-type-checker.importStrategy" = "fromEnvironment";
|
||||
"gitlens.telemetry.enabled" = false;
|
||||
"vim.highlightedyank.enable" = true;
|
||||
|
|
Loading…
Reference in a new issue