Disable formatOnSave/Paste, add comments to .vscode/settings

This commit is contained in:
2024-11-07 17:11:34 -06:00
parent c4a0ecf872
commit 7192e181f6

View File

@@ -1,5 +1,5 @@
{
// .tmpl files are Go templates (see text/template pkg)
"files.associations": {
"dot_*rc": "shellscript",
"dot_*rc.tmpl": "shellscript",
@@ -12,6 +12,9 @@
"*.cfg.tmpl": "ini",
"*bash_aliases*": "shellscript",
"*dot_profile*": "shellscript",
"*dot_gitconfig*": "ini",
}
"*dot_gitconfig*": "ini"
},
// Since we're using the Go template syntax, we don't want formatters to mess with it (https://github.com/microsoft/vscode/issues/35350)
"editor.formatOnSave": false,
"editor.formatOnPaste": false
}