From e4ffa5b2cf6a74e35f1f5e76931c1a8388bb6359 Mon Sep 17 00:00:00 2001 From: Xevion Date: Sat, 12 Oct 2024 14:36:03 -0500 Subject: [PATCH] adjust VS Code file associations for template files, chezmoi path style --- .chezmoiignore | 4 +++- .vscode/settings.json | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.chezmoiignore b/.chezmoiignore index 692e2cb..8cade57 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -1,3 +1,5 @@ README.md FAQ.md -.gitattributes \ No newline at end of file +.gitattributes +.gitignore +.vscode \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..14bcdfd --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,17 @@ + +{ + "files.associations": { + "dot_*rc": "shellscript", + "dot_*rc.tmpl": "shellscript", + "*.sh.tmpl": "shellscript", + ".chezmoiignore": "ignore", + "*.nu.tmpl": "nushell", + "*.json.tmpl": "json", + "*.toml.tmpl": "toml", + "*.yaml.tmpl": "yaml", + "*.cfg.tmpl": "ini", + "*bash_aliases*": "shellscript", + "*dot_profile*": "shellscript", + "*dot_gitconfig*": "ini", + } +} \ No newline at end of file