2022-06-21 21:21:48 +00:00
|
|
|
{pkgs, ...}: let
|
|
|
|
vscode-icons = pkgs.vscode-utils.extensionFromVscodeMarketplace {
|
|
|
|
name = "vscode-icons";
|
|
|
|
publisher = "vscode-icons-team";
|
|
|
|
version = "11.12.0";
|
|
|
|
sha256 = "sha256-jyc6m6lfwSYt5xg2H5TGdxheKptho87C7eN4xuU5IYg=";
|
|
|
|
};
|
|
|
|
direnv = pkgs.vscode-utils.extensionFromVscodeMarketplace {
|
|
|
|
name = "direnv";
|
|
|
|
publisher = "mkhl";
|
|
|
|
version = "0.6.1";
|
|
|
|
sha256 = "sha256-5/Tqpn/7byl+z2ATflgKV1+rhdqj+XMEZNbGwDmGwLQ=";
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.vscodium;
|
|
|
|
userSettings = {
|
2022-06-25 02:40:50 +00:00
|
|
|
"breadcrumbs.enabled" = false;
|
|
|
|
"editor.formatOnPaste" = true;
|
|
|
|
"editor.formatOnSave" = true;
|
|
|
|
"editor.formatOnSaveMode" = "file";
|
|
|
|
"editor.formatOnType" = true;
|
|
|
|
"editor.minimap.enabled" = false;
|
|
|
|
"explorer.confirmDelete" = false;
|
|
|
|
"extensions.autoCheckUpdates" = false;
|
|
|
|
"extensions.autoUpdate" = false;
|
|
|
|
"extensions.closeExtensionDetailsOnViewChange" = true;
|
|
|
|
"extensions.ignoreRecommendations" = true;
|
2022-06-21 21:21:48 +00:00
|
|
|
"python.analysis.autoImportCompletions" = true;
|
2022-06-25 02:40:50 +00:00
|
|
|
"python.analysis.autoSearchPaths" = true;
|
|
|
|
"python.analysis.completeFunctionParens" = true;
|
2022-06-21 21:21:48 +00:00
|
|
|
"python.experiments.enabled" = false;
|
2022-06-25 02:40:50 +00:00
|
|
|
"python.languageServer" = "Pylance";
|
|
|
|
"telemetry.telemetryLevel" = "off";
|
|
|
|
"terminal.external.linuxExec" = "kitty";
|
|
|
|
"update.mode" = "none";
|
|
|
|
"update.showReleaseNotes" = false;
|
|
|
|
"workbench.colorTheme" = "Tokyo Night";
|
|
|
|
"workbench.iconTheme" = "vscode-icons";
|
|
|
|
"vscode-neovim.neovimExecutablePaths.linux" = "${pkgs.neovim}/bin/nvim";
|
|
|
|
"python.formatting.provider" = "black";
|
2022-06-21 21:21:48 +00:00
|
|
|
};
|
|
|
|
extensions = with pkgs.vscode-extensions; [
|
2022-10-07 21:38:40 +00:00
|
|
|
asvetliakov.vscode-neovim
|
|
|
|
catppuccin.catppuccin-vsc
|
|
|
|
christian-kohler.path-intellisense
|
|
|
|
direnv
|
|
|
|
eamodio.gitlens
|
2022-06-21 21:21:48 +00:00
|
|
|
editorconfig.editorconfig
|
2022-10-07 21:38:40 +00:00
|
|
|
kahole.magit
|
2022-06-21 21:21:48 +00:00
|
|
|
kamadorueda.alejandra
|
|
|
|
ms-python.python
|
2022-10-07 21:38:40 +00:00
|
|
|
ms-python.vscode-pylance
|
|
|
|
ms-toolsai.jupyter
|
|
|
|
rust-lang.rust-analyzer
|
|
|
|
vscode-icons
|
2022-06-21 21:21:48 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|