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

189 lines
5.3 KiB
JSON
Raw Normal View History

2022-05-11 21:28:41 +00:00
{
/* 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,
2022-05-11 21:28:41 +00:00
"extensions.ignoreRecommendations": true,
/* VS Code files settings. */
"files.associations": {
"**/i3/*": "i3",
"**/i3status/*": "i3",
"*.njk": "html",
"*.rasi": "plaintext",
2022-09-24 20:36:23 +00:00
"*.sql": "sql",
"*.yml": "yaml"
2022-05-11 21:28:41 +00:00
},
"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,
2022-05-11 21:28:41 +00:00
"typescript.updateImportsOnFileMove.enabled": "always",
/* VS Code update settings. */
"update.mode": "none",
"update.showReleaseNotes": false,
2022-05-11 21:28:41 +00:00
/* VS Code window settings. */
"window.commandCenter": false,
2022-05-11 21:28:41 +00:00
"window.titleBarStyle": "custom",
/* VS Code workbench settings. */
2023-03-21 11:30:04 +00:00
"workbench.colorTheme": "Catppuccin Mocha",
"workbench.enableExperiments": false,
2023-03-21 11:30:04 +00:00
"workbench.iconTheme": "catppuccin-mocha",
2022-05-11 21:28:41 +00:00
"workbench.startupEditor": "none",
/* Extension settings. */
// 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,
2023-01-23 11:02:14 +00:00
// Nix (ID: jnoortheen.nix-ide)
"nix.enableLanguageServer": true,
"nix.serverPath": "nil",
"nix.serverSettings": {
"nil": {
"formatting": {
"command": ["nixfmt"]
}
}
},
2024-01-19 13:54:30 +00:00
// Nix Environment Selector (ID: arrterian.nix-env-selector)
"nixEnvSelector.nixFile": "${workspaceRoot}/flake.nix",
// vscode-pdf (ID: tomoki1207.pdf)
"pdf-preview.default.scale": "page-fit",
2023-06-10 10:10:40 +00:00
// Rust Analyzer (ID: rust-lang.rust-analyzer)
"rust-analyzer.check.command": "clippy",
2023-06-10 10:10:40 +00:00
"rust-analyzer.inlayHints.chainingHints.enable": false,
2022-05-11 21:28:41 +00:00
// Stylelint (ID: stylelint.vscode-stylelint)
"stylelint.validate": [
"css",
"less",
"postcss",
"scss"
],
// SVG Preview (ID: jock.svg)
"svg.preview.mode": "svg",
2023-12-26 16:42:39 +00:00
// Typst LSP (ID: nvarner.typst-lsp)
"typst-lsp.experimentalFormatterMode": "on",
2023-12-26 16:42:39 +00:00
"typst-lsp.exportPdf": "never",
2022-10-27 09:31:18 +00:00
// Linter XO (ID: samverschueren.linter-xo).
"xo.format.enable": true,
2022-12-04 17:06:12 +00:00
"xo.validate": [
"astro",
"javascript",
"javascriptreact",
"mdx",
"typescript",
"typescriptreact"
],
2024-08-10 10:16:52 +00:00
// Tinymist Typst (ID: myriad-dreamin.tinymist)
"tinymist.formatterMode": "typstyle",
"tinymist.exportPdf": "never",
// Beancount (ID: Lencerf.beancount)
"beancount.runFavaOnActivate": true,
// Beancount Formatter (ID: dongfg.vscode-beancount-formatter)
"beancountFormatter.currencyColumn": 80,
2022-05-11 21:28:41 +00:00
/* Language-specific overrides. */
2022-12-04 17:06:12 +00:00
"[astro]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
2024-08-10 10:16:52 +00:00
"[beancount]": {
"editor.rulers": [79],
"editor.formatOnSave": true
},
2022-05-11 21:28:41 +00:00
"[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
},
2022-12-04 17:06:12 +00:00
"[mdx]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80
},
2023-03-27 11:16:59 +00:00
"[nix]": {
"editor.formatOnSave": true
},
2022-05-11 21:28:41 +00:00
"[python]": {
"editor.formatOnSave": true,
"editor.tabSize": 4
},
"[rust]": {
2022-09-24 20:36:23 +00:00
"editor.defaultFormatter": "rust-lang.rust-analyzer",
2022-05-11 21:28:41 +00:00
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.wordWrap": "wordWrapColumn"
},
2022-09-27 17:46:55 +00:00
"[scss]": {
"editor.defaultFormatter": "stylelint.vscode-stylelint",
"editor.formatOnSave": true
},
2022-10-27 09:31:18 +00:00
"[typescript]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
2022-12-04 17:06:12 +00:00
"[typescriptreact]": {
"editor.defaultFormatter": "samverschueren.linter-xo",
"editor.formatOnSave": true
},
2023-12-26 16:42:39 +00:00
"[typst]": {
2024-08-10 10:16:52 +00:00
"editor.defaultFormatter": "myriad-dreamin.tinymist",
"editor.formatOnSave": true
2023-12-26 16:42:39 +00:00
},
2022-05-11 21:28:41 +00:00
"[xml]": {
"editor.wordWrap": "on"
}
}