add jujutsu, vscode updates and flake update

This commit is contained in:
Salar Rahmanian 2024-11-13 22:37:45 -08:00
parent 5c8bf490c2
commit 2889dbcfb8
4 changed files with 62 additions and 13 deletions

View file

@ -42,6 +42,7 @@
'';
interactiveShellInit = ''
jj util completion fish | source
eval (direnv hook fish)
any-nix-shell fish --info-right | source
'';

View file

@ -4,6 +4,7 @@ let
myExtensions = with pkgs.vscode-extensions; [
asvetliakov.vscode-neovim
baccata.scaladex-search
charliermarsh.ruff
davidanson.vscode-markdownlint
enkia.tokyo-night
github.copilot
@ -16,8 +17,14 @@ let
marp-team.marp-vscode
mechatroner.rainbow-csv
mkhl.direnv
ms-python.debugpy
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
ms-toolsai.vscode-jupyter-slideshow
ms-vscode.makefile-tools
ms-toolsai.jupyter
redhat.java
@ -30,6 +37,7 @@ let
timonwong.shellcheck
usernamehw.errorlens
visualstudioexptteam.vscodeintellicode
visualjj.visualjj
vscode-icons-team.vscode-icons
vscjava.vscode-java-pack
xyz.local-history
@ -43,18 +51,43 @@ let
"extensions.experimental.affinity" = {
"asvetliakov.vscode-neovim" = 1;
};
"extensions.ignoreRecommendations" = true;
"files.autoSave" = "afterDelay";
"git.autoSave" = "afterDelay";
"git.confirmSync" = true;
"git.rebaseWhenSync" = true;
"github.gitProtocol" = "ssh";
"githubPullRequests.notifications" = "pullRequests";
"githubPullRequests.pullBranch" = "never";
"markdown.extension.preview.autoShowPreviewToSide" = true;
"notebook.formatOnSave" = true;
"notebook.codeActionsOnSave" = {
"notebook.source.fixAll" = true;
"notebook.source.organizeImports" = true;
};
# Install paste image manually as not in nix ( https://marketplace.visualstudio.com/items?itemName=mushan.vscode-paste-image )
"pasteImage.insertPattern" = "![[\${imageFileName}]]";
"pasteImage.path" = "\${projectRoot}/Attachments";
"python.analysis.extraPaths" = [ "src" ];
"python.analysis.autoFormatStrings" = true;
"python.analysis.autoImportCompletions" = true;
"python.analysis.completeFunctionParens" = true;
"python.analysis.inlayHints.pytestParameters" = true;
"python.analysis.typeCheckingMode" = "strict";
"python.testing.pytestEnabled" = true;
"[python]" = {
"editor.defaultFormatter" = "charliermarsh.ruff";
"editor.formatOnSave" = true;
"editor.codeActionsOnSave" = {
"source.fixAll" = true;
"source.organizeImports" = true;
};
};
"telemetry.telemetryLevel" = "off";
"terminal.integrated.defaultProfile.osx" = "fish";
"terminal.integrated.fontFamily" = "SF Mono";
"terminal.integrated.fontSize" = 13;
"update.mode" = "none";
"vsicons.dontShowNewVersionMessage" = true;
"window.openFoldersInNewWindow" = "on";
"workbench.colorTheme" = "Tokyo Night";
"workbench.iconTheme" = "vscode-icons";