mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-09 22:06:58 -06:00
Disable formatOnSave/Paste, add comments to .vscode/settings
This commit is contained in:
9
.vscode/settings.json
vendored
9
.vscode/settings.json
vendored
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
|
// .tmpl files are Go templates (see text/template pkg)
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"dot_*rc": "shellscript",
|
"dot_*rc": "shellscript",
|
||||||
"dot_*rc.tmpl": "shellscript",
|
"dot_*rc.tmpl": "shellscript",
|
||||||
@@ -12,6 +12,9 @@
|
|||||||
"*.cfg.tmpl": "ini",
|
"*.cfg.tmpl": "ini",
|
||||||
"*bash_aliases*": "shellscript",
|
"*bash_aliases*": "shellscript",
|
||||||
"*dot_profile*": "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
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user