chore(settings): tweak indent level for various languages, add useful markdown extensions

This commit is contained in:
2025-03-16 22:40:14 +00:00
parent d31ec656ee
commit b5c1ac6561
2 changed files with 72 additions and 28 deletions

View File

@@ -314,30 +314,6 @@
},
//
// ===========================================================================
// MARK: JSON
// ===========================================================================
//
"[json]": {
"editor.insertSpaces": true,
"editor.tabSize": 2
},
//
// ===========================================================================
// MARK: Lua
// ===========================================================================
// Extensions:
// - https://marketplace.visualstudio.com/items?itemName=sumneko.lua
//
"Lua.codeLens.enable": true,
"Lua.diagnostics.globals": [
// Hammerspoon
"hs",
"spoon"
],
"Lua.diagnostics.workspaceEvent": "OnChange",
"Lua.hint.enable": true,
//
// ===========================================================================
// MARK: Ruby
// ===========================================================================
// Extensions:
@@ -359,6 +335,67 @@
"rubyTestExplorer.rspecCommand": "mise x -- bundle exec rspec",
//
// ===========================================================================
// MARK: Dockerfile
// ===========================================================================
// Extensions:
// - https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
//
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
},
//
// ===========================================================================
// MARK: JSON
// ===========================================================================
//
"[json]": {
"editor.insertSpaces": true,
"editor.tabSize": 2
},
//
// ===========================================================================
// MARK: HTML
// ===========================================================================
//
"[html]": {
"editor.insertSpaces": true,
"editor.tabSize": 2
},
//
// ===========================================================================
// MARK: CSS
// ===========================================================================
//
"[css]": {
"editor.insertSpaces": true,
"editor.tabSize": 2
},
//
// ===========================================================================
// MARK: JavaScript
// ===========================================================================
//
"[javascript]": {
"editor.insertSpaces": true,
"editor.tabSize": 2
},
//
// ===========================================================================
// MARK: Lua
// ===========================================================================
// Extensions:
// - https://marketplace.visualstudio.com/items?itemName=sumneko.lua
//
"Lua.codeLens.enable": true,
"Lua.diagnostics.globals": [
// Hammerspoon
"hs",
"spoon"
],
"Lua.diagnostics.workspaceEvent": "OnChange",
"Lua.hint.enable": true,
//
// ===========================================================================
// MARK: Shellscript
// ===========================================================================
// Extensions:
@@ -421,15 +458,12 @@
// - https://marketplace.visualstudio.com/items?itemName=AntiAntiSepticeye.vscode-color-picker
//
"vscode-color-picker.languages": [
"css",
"go",
"javascript",
"less",
"postcss",
"python",
"ruby",
"sass",
"scss",
"sss",
"stylus",
"svg",