mirror of
https://github.com/softinio/nix-config.git
synced 2025-08-31 23:06:40 -07:00
update nvim config and cleanup vscode settings
This commit is contained in:
parent
57baa8ac77
commit
a770ede405
3 changed files with 73 additions and 64 deletions
|
@ -2,4 +2,5 @@
|
|||
./git
|
||||
./tmux
|
||||
./wezterm
|
||||
./vscode
|
||||
]
|
||||
|
|
71
programs/vscode/default.nix
Normal file
71
programs/vscode/default.nix
Normal file
|
@ -0,0 +1,71 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
myExtensions = with pkgs.vscode-extensions; [
|
||||
asvetliakov.vscode-neovim
|
||||
baccata.scaladex-search
|
||||
davidanson.vscode-markdownlint
|
||||
enkia.tokyo-night
|
||||
github.copilot
|
||||
github.copilot-chat
|
||||
github.github-vscode-theme
|
||||
github.vscode-github-actions
|
||||
github.vscode-pull-request-github
|
||||
humao.rest-client
|
||||
jnoortheen.nix-ide
|
||||
mechatroner.rainbow-csv
|
||||
mkhl.direnv
|
||||
ms-python.python
|
||||
ms-python.vscode-pylance
|
||||
ms-vscode.makefile-tools
|
||||
ms-toolsai.jupyter
|
||||
redhat.java
|
||||
redhat.vscode-yaml
|
||||
rust-lang.rust-analyzer
|
||||
scalameta.metals
|
||||
skyapps.fish-vscode
|
||||
svsool.markdown-memo
|
||||
timonwong.shellcheck
|
||||
usernamehw.errorlens
|
||||
visualstudioexptteam.vscodeintellicode
|
||||
vscode-icons-team.vscode-icons
|
||||
vscjava.vscode-java-pack
|
||||
xyz.local-history
|
||||
yzhang.markdown-all-in-one
|
||||
|
||||
];
|
||||
myUserSettings = {
|
||||
"editor.fontFamily" = "SF Mono";
|
||||
"editor.fontSize" = 13;
|
||||
"editor.copyWithSyntaxHighlighting" = true;
|
||||
"extensions.experimental.affinity" = {
|
||||
"asvetliakov.vscode-neovim" = 1;
|
||||
};
|
||||
"files.autoSave" = "afterDelay";
|
||||
"git.autoSave" = "afterDelay";
|
||||
"git.rebaseWhenSync" = true;
|
||||
"github.gitProtocol" = "ssh";
|
||||
"githubPullRequests.notifications" = "pullRequests";
|
||||
"githubPullRequests.pullBranch" = "never";
|
||||
"markdown.extension.preview.autoShowPreviewToSide" = 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" ];
|
||||
"telemetry.telemetryLevel" = "off";
|
||||
"window.openFoldersInNewWindow" = "on";
|
||||
"workbench.colorTheme" = "Tokyo Night";
|
||||
"workbench.iconTheme" = "vscode-icons";
|
||||
"workbench.sideBar.location" = "right";
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
enableUpdateCheck = false;
|
||||
enableExtensionUpdateCheck = false;
|
||||
mutableExtensionsDir = false;
|
||||
extensions = myExtensions;
|
||||
userSettings = myUserSettings;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue