1
Fork 0
dotfiles/.config/VSCodium/User/settings.json

171 lines
4.6 KiB
JSON

{
/* VS Code editor settings. */
"editor.colorDecorators": false,
"editor.cursorBlinking": "smooth",
"editor.fontFamily": "Hasklig",
"editor.fontLigatures": true,
"editor.fontSize": 18,
"editor.minimap.maxColumn": 100,
"editor.multiCursorModifier": "ctrlCmd",
"editor.renderWhitespace": "boundary",
"editor.rulers": [
80,
100
],
"editor.suggestSelection": "first",
"editor.tabSize": 2,
"editor.wordWrapColumn": 100,
/* VS Code explorer settings. */
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.sortOrder": "type",
/* VS Code extensions settings. */
"extensions.autoCheckUpdates": false,
"extensions.autoUpdate": false,
"extensions.ignoreRecommendations": true,
/* VS Code files settings. */
"files.associations": {
"*.njk": "html",
"*.sql": "sql",
"*.yml": "yaml"
},
"files.eol": "\n",
"files.exclude": {
"**/.mypy_cache": true,
"**/.pytest_cache": true,
"**/__pycache__": true,
"**/node_modules": true,
"**/target": true
},
"files.insertFinalNewline": true,
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/target/**": true
},
/* VS Code HTML settings. */
"html.format.wrapLineLength": 80,
"html.validate.styles": false,
/* VS Code search settings. */
"search.showLineNumbers": true,
/* VS Code TypeScript settings. */
"typescript.disableAutomaticTypeAcquisition": true,
"typescript.updateImportsOnFileMove.enabled": "always",
/* VS Code update settings. */
"update.mode": "none",
"update.showReleaseNotes": false,
/* VS Code window settings. */
"window.titleBarStyle": "custom",
/* VS Code workbench settings. */
"workbench.colorTheme": "Catppuccin Mocha",
"workbench.enableExperiments": false,
"workbench.editSessions.autoResume": "off",
"workbench.editSessions.continueOn": "off",
"workbench.iconTheme": "catppuccin-mocha",
"workbench.startupEditor": "none",
/* Extension settings. */
// Colorize (ID: kamikillerto.vscode-colorize).
"colorize.languages": [
"css",
"json",
"jsonc",
"less",
"postcss",
"sass",
"scss",
"sss",
"stylus",
"svg",
"xml"
],
"colorize.include": [
"*.conf",
"*.ttheme"
],
// Crates (ID: serayuzgur.crates).
"crates.compatibleDecorator": "✅ ${version}",
// Live Server (ID: ritwickdey.liveserver).
"liveServer.settings.donotShowInfoMsg": true,
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.root": "/public",
"liveServer.settings.wait": 1000,
// Markdown Preview Enhanced (ID: shd101wyy.markdown-preview-enhanced).
"markdown-preview-enhanced.previewTheme": "github-dark.css",
// Nix (ID: jnoortheen.nix-ide)
"nix.enableLanguageServer": true,
// Stylelint (ID: stylelint.vscode-stylelint)
"stylelint.validate": [
"css",
"less",
"postcss",
"scss"
],
// SVG Preview (ID: jock.svg)
"svg.preview.mode": "svg",
// Linter XO (ID: samverschueren.linter-xo).
"xo.format.enable": true,
"xo.validate": [
"astro",
"javascript",
"javascriptreact",
"mdx",
"typescript",
"typescriptreact"
],
/* Language-specific overrides. */
"[astro]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
"[html]": {
"editor.wordWrap": "on",
"editor.defaultFormatter": "vscode.html-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[markdown]": {
"editor.rulers": [
65
],
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 65
},
"[mdx]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80
},
"[python]": {
"editor.formatOnSave": true,
"editor.tabSize": 4
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.wordWrap": "wordWrapColumn"
},
"[scss]": {
"editor.defaultFormatter": "stylelint.vscode-stylelint",
"editor.formatOnSave": true
},
"[typescript]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
"[xml]": {
"editor.wordWrap": "on"
}
}