Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit dd7e756

Browse files
authored
enable html format templating (#953)
Add the template format option to prevent vscode from messing with the hugo template format in html files.
1 parent 418393d commit dd7e756

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

containers/hugo/.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
},
1818

1919
// Set *default* container specific settings.json values on container create.
20-
"settings": {},
20+
"settings": {
21+
"html.format.templating": true,
22+
},
2123

2224
// Add the IDs of extensions you want installed when the container is created.
2325
"extensions": [
@@ -35,4 +37,4 @@
3537

3638
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
3739
"remoteUser": "node"
38-
}
40+
}

0 commit comments

Comments
 (0)