home/vscodium: clean up python extension config, use mypy daemon
This commit is contained in:
parent
7574890c3c
commit
49484e5729
1 changed files with 4 additions and 3 deletions
|
@ -58,6 +58,7 @@
|
|||
]);
|
||||
in
|
||||
{
|
||||
"telemetry.enableTelemetry" = false; # might not be needed for Codium
|
||||
"editor.fontLigatures" = true;
|
||||
"editor.accessibilitySupport" = false; # prevent asking
|
||||
"editor.cursorBlinking" = "phase";
|
||||
|
@ -90,12 +91,12 @@
|
|||
};
|
||||
"python.experiments.enabled" = false;
|
||||
"python.languageServer" = "Jedi"; # don't use proprietary pylance server
|
||||
"python.defaultInterpreterPath" = "${defaultPython}/bin/python";
|
||||
"mypy-type-checker.path" = [ "${pkgs.python3Packages.mypy}/bin/mypy" ];
|
||||
"python.defaultInterpreterPath" = lib.getExe defaultPython;
|
||||
"mypy-type-checker.path" = [ "${pkgs.python3Packages.mypy}/bin/dmypy" ];
|
||||
"mypy-type-checker.preferDaemon" = true;
|
||||
"mypy-type-checker.importStrategy" = "fromEnvironment";
|
||||
"mypy-type-checker.args" = [ "--ignore-missing-imports" ];
|
||||
"ruff.path" = [ (lib.getExe pkgs.ruff) ];
|
||||
"ruff.importStrategy" = "fromEnvironment";
|
||||
"gitlens.telemetry.enabled" = false;
|
||||
"vim.highlightedyank.enable" = true;
|
||||
"vim.history" = 500;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue