mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-10 08:07:01 -06:00
Disable formatOnSave/Paste, add comments to .vscode/settings
This commit is contained in:
33
.vscode/settings.json
vendored
33
.vscode/settings.json
vendored
@@ -1,17 +1,20 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"files.associations": {
|
// .tmpl files are Go templates (see text/template pkg)
|
||||||
"dot_*rc": "shellscript",
|
"files.associations": {
|
||||||
"dot_*rc.tmpl": "shellscript",
|
"dot_*rc": "shellscript",
|
||||||
"*.sh.tmpl": "shellscript",
|
"dot_*rc.tmpl": "shellscript",
|
||||||
".chezmoiignore": "ignore",
|
"*.sh.tmpl": "shellscript",
|
||||||
"*.nu.tmpl": "nushell",
|
".chezmoiignore": "ignore",
|
||||||
"*.json.tmpl": "json",
|
"*.nu.tmpl": "nushell",
|
||||||
"*.toml.tmpl": "toml",
|
"*.json.tmpl": "json",
|
||||||
"*.yaml.tmpl": "yaml",
|
"*.toml.tmpl": "toml",
|
||||||
"*.cfg.tmpl": "ini",
|
"*.yaml.tmpl": "yaml",
|
||||||
"*bash_aliases*": "shellscript",
|
"*.cfg.tmpl": "ini",
|
||||||
"*dot_profile*": "shellscript",
|
"*bash_aliases*": "shellscript",
|
||||||
"*dot_gitconfig*": "ini",
|
"*dot_profile*": "shellscript",
|
||||||
}
|
"*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