home,vscode: modify userSettings

This commit is contained in:
Guanran Wang 2023-10-18 19:03:35 +08:00
parent 039d5a8557
commit 7d8e9ad340
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
3 changed files with 9 additions and 22 deletions

View file

@ -176,10 +176,10 @@
enableUpdateCheck = false;
userSettings = {
"diffEditor.ignoreTrimWhitespace" = false;
"editor.cursorSmoothCaretAnimation" = "on";
"editor.cursorBlinking" = "smooth";
"editor.cursorSmoothCaretAnimation" = "on";
"editor.fontFamily" = lib.mkDefault "Monospace";
"editor.fontWeight" = "600";
"editor.fontWeight" = 600;
"editor.tabSize" = 2;
"explorer.confirmDragAndDrop" = false;
"explorer.confirmDelete" = false;
@ -197,27 +197,25 @@
# Extensions
### Nix IDE
"nix.enableLanguageServer" = true;
#"nix.serverPath" = "nixd";
"nix.serverPath" = "nil";
"nix.serverPath" = "${pkgs.nil}/bin/nil";
### GitLens
"gitlens.telemetry.enabled" = false;
};
extensions = with pkgs.vscode-extensions; [
# lsp
#bbenoist.nix
### LSP
jnoortheen.nix-ide
#ms-python.python # Temporary disable this, as debugpy is stuck at building (literally waited for 40 minute + 6 hour + 2 hour...)
ms-python.python
rust-lang.rust-analyzer
tamasfe.even-better-toml
#bungcip.better-toml
# qol
### QoL
eamodio.gitlens
esbenp.prettier-vscode
ritwickdey.liveserver
vscodevim.vim
# theme
### Themes
enkia.tokyo-night
#catppuccin.catppuccin-vsc-icons
#catppuccin.catppuccin-vsc

View file

@ -67,12 +67,6 @@
iterm2
### Misc
element-desktop
## Misc
### LSP
nixd
nil
];
};

View file

@ -75,11 +75,6 @@
adw-gtk3
libsForQt5.qtstyleplugin-kvantum # Kvantum, theme engine
# lsp
nixd
nil
### flatpak-able