Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 2a72b3d

Browse files
committed
Split Handlebars into its own language
1 parent 7793f40 commit 2a72b3d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/language/languages.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,17 @@
4444
"html": {
4545
"name": "HTML",
4646
"mode": ["htmlmixed", "text/x-brackets-html"],
47-
"fileExtensions": ["html", "htm", "shtm", "shtml", "xhtml", "cfm", "cfml", "cfc", "dhtml", "xht", "tpl", "twig", "hbs", "handlebars", "kit", "jsp", "aspx", "ascx", "asp", "master", "cshtml", "vbhtml"],
47+
"fileExtensions": ["html", "htm", "shtm", "shtml", "xhtml", "cfm", "cfml", "cfc", "dhtml", "xht", "tpl", "twig", "kit", "jsp", "aspx", "ascx", "asp", "master", "cshtml", "vbhtml"],
4848
"blockComment": ["<!--", "-->"]
4949
},
50-
50+
51+
"handlebars": {
52+
"name": "Handlebars",
53+
"mode": ["handlebars", "text/x-handlebars-template"],
54+
"fileExtensions": ["hbs", "handlebars"],
55+
"blockComment": ["{{!", "}}"]
56+
},
57+
5158
"ejs": {
5259
"name": "EJS",
5360
"mode": ["htmlembedded", "application/x-ejs"],

0 commit comments

Comments
 (0)