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; enableUpdateCheck = false;
userSettings = { userSettings = {
"diffEditor.ignoreTrimWhitespace" = false; "diffEditor.ignoreTrimWhitespace" = false;
"editor.cursorSmoothCaretAnimation" = "on";
"editor.cursorBlinking" = "smooth"; "editor.cursorBlinking" = "smooth";
"editor.cursorSmoothCaretAnimation" = "on";
"editor.fontFamily" = lib.mkDefault "Monospace"; "editor.fontFamily" = lib.mkDefault "Monospace";
"editor.fontWeight" = "600"; "editor.fontWeight" = 600;
"editor.tabSize" = 2; "editor.tabSize" = 2;
"explorer.confirmDragAndDrop" = false; "explorer.confirmDragAndDrop" = false;
"explorer.confirmDelete" = false; "explorer.confirmDelete" = false;
@ -192,32 +192,30 @@
"terminal.integrated.cursorBlinking" = true; "terminal.integrated.cursorBlinking" = true;
"update.mode" = "none"; "update.mode" = "none";
"window.menuBarVisibility" = "toggle"; "window.menuBarVisibility" = "toggle";
"workbench.colorTheme" = "Tokyo Night"; "workbench.colorTheme" = "Tokyo Night";
# Extensions # Extensions
### Nix IDE ### Nix IDE
"nix.enableLanguageServer" = true; "nix.enableLanguageServer" = true;
#"nix.serverPath" = "nixd"; "nix.serverPath" = "${pkgs.nil}/bin/nil";
"nix.serverPath" = "nil";
### GitLens ### GitLens
"gitlens.telemetry.enabled" = false; "gitlens.telemetry.enabled" = false;
}; };
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
# lsp ### LSP
#bbenoist.nix
jnoortheen.nix-ide 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 rust-lang.rust-analyzer
tamasfe.even-better-toml tamasfe.even-better-toml
#bungcip.better-toml #bungcip.better-toml
# qol ### QoL
eamodio.gitlens eamodio.gitlens
esbenp.prettier-vscode esbenp.prettier-vscode
ritwickdey.liveserver ritwickdey.liveserver
vscodevim.vim vscodevim.vim
# theme ### Themes
enkia.tokyo-night enkia.tokyo-night
#catppuccin.catppuccin-vsc-icons #catppuccin.catppuccin-vsc-icons
#catppuccin.catppuccin-vsc #catppuccin.catppuccin-vsc

View file

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

View file

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