diff --git a/home-manager/modules/vscode.nix b/home-manager/modules/vscode.nix index 09e84cb..e8dcfb9 100644 --- a/home-manager/modules/vscode.nix +++ b/home-manager/modules/vscode.nix @@ -24,22 +24,24 @@ userSettings = { # Editor "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Droid Sans Mono', 'monospace', monospace"; + "editor.indentSize" = "tabSize"; + "editor.tabSize" = 4; # JJ - "files.watcherExclude" = [ - "**/.git/objects/**" - "**/.git/subtree-cache/**" - "**/.hg/store/**" - "**/.jj" - ]; - "files.exclude" = [ - "**/.git" - "**/.jj" - "**/.svn" - "**/.hg" - "**/CVS" - "**/.DS_Store" - "**/Thumbs.db" - ]; + "files.watcherExclude" = { + "**/.git/objects/**" = true; + "**/.git/subtree-cache/**" = true; + "**/.hg/store/**" = true; + "**/.jj" = true; + }; + "files.exclude" = { + "**/.git" = true; + "**/.jj" = true; + "**/.svn" = true; + "**/.hg" = true; + "**/CVS" = true; + "**/.DS_Store" = true; + "**/Thumbs.db" = true; + }; # Nix "nix.enableLanguageServer" = true; "nix.serverPath" = "nixd";