summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-20 21:05:23 +0200
committerChristian Breunig <christian@breunig.cc>2023-07-20 21:07:13 +0200
commit8160aa1f90d93ceda2417f703344698a2e2ccbfc (patch)
tree806acc9385f6239a7b22f6c483e51833fbddaf10 /.vscode
parent6b46a746630288dc8d62af0a411e2079deef8a78 (diff)
downloadvyos-1x-8160aa1f90d93ceda2417f703344698a2e2ccbfc.tar.gz
vyos-1x-8160aa1f90d93ceda2417f703344698a2e2ccbfc.zip
vscode: specify additional common settings for languag association and indention
- add language file association (xml.i, xml.in -> XML) - add Jinja2 indention
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/settings.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 994718d2e..9b18e9996 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -4,4 +4,13 @@
"editor.insertSpaces": true,
"files.insertFinalNewline": true,
"files.eol": "\n",
+ "files.associations": {
+ "*.xml.i": "xml",
+ "*.xml.in": "xml",
+ },
+ "editor.indentSize": "tabSize",
+ "[jinja]": {
+ "editor.tabSize": 4,
+ "editor.wordBasedSuggestions": false
+ }
}