dotfiles

My PC Dotfiles & Website

settings.json (2657B)


{
  "chat.disableAIFeatures": true,
  "editor.cursorBlinking": "expand",
  "editor.cursorSmoothCaretAnimation": "on",
  "editor.cursorStyle": "line-thin",
  "editor.formatOnSave": true,
  "editor.linkedEditing": true,
  "editor.smoothScrolling": true,
  "editor.suggest.preview": true,
  "editor.suggest.showStatusBar": true,
  "editor.unfoldOnClickAfterEndOfLine": true,
  "explorer.confirmDelete": false,
  "explorer.incrementalNaming": "smart",
  "explorer.openEditors.visible": 7,
  "extensions.autoCheckUpdates": false,
  "extensions.autoUpdate": false,
  "extensions.ignoreRecommendations": true,
  "files.autoSave": "onWindowChange",
  "files.trimFinalNewlines": true,
  "search.showLineNumbers": true,
  "search.smartCase": true,
  "search.useGlobalIgnoreFiles": true,
  "search.useParentIgnoreFiles": true,
  "telemetry.telemetryLevel": "off",
  "terminal.integrated.cursorStyle": "line",
  "terminal.integrated.enableVisualBell": true,
  "terminal.integrated.tabs.separator": " / ",
  "update.mode": "none",
  "window.autoDetectColorScheme": false,
  "window.closeWhenEmpty": true,
  "window.commandCenter": true,
  "window.dialogStyle": "custom",
  "window.doubleClickIconToClose": true,
  "window.menuBarVisibility": "toggle",
  "window.titleSeparator": " / ",
  "workbench.browser.openLocalhostLinks": true,
  "workbench.commandPalette.preserveInput": true,
  "workbench.editor.highlightModifiedTabs": true,
  "workbench.list.horizontalScrolling": true,
  "workbench.list.smoothScrolling": true,
  "workbench.startupEditor": "readme",

  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "better-comments.highlightPlainText": true,
  "scm.repositories.visible": 7,
  "python.languageServer": "None",
  "nix.enableLanguageServer": true,
  "nix.serverPath": "nixd",
  "nix.hiddenLanguageServerErrors": ["textDocument/definition"],
  "nix.serverSettings": {
    "nixd": {
      "nixpkgs": {
        "expr": "import (builtins.getFlake \"/etc/nixos\").inputs.nixpkgs { }"
      },
      "options": {
        "nixos": {
          "expr": "let f = builtins.getFlake \"/etc/nixos\"; h = builtins.replaceStrings [\"\\n\"] [\"\"] (builtins.readFile /etc/hostname); in f.nixosConfigurations.${h}.options"
        }
      },
      "formatting": {
        "command": ["alejandra"]
      }
    }
  },
  "[nix]": {
    "editor.defaultFormatter": "jnoortheen.nix-ide"
  },
  "[cpp]": {
    "editor.defaultFormatter": "ms-vscode.cpptools"
  },
  "[python]": {
    "editor.defaultFormatter": "charliermarsh.ruff"
  },
  "[xml]": {
    "editor.defaultFormatter": "redhat.vscode-xml"
  },
  "[toml]": {
    "editor.defaultFormatter": "tombi-toml.tombi"
  }
}