Skip to content

Commit fbc002f

Browse files
committed
[handlebars mode] Add comment start/end metadata
1 parent 9ea789b commit fbc002f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mode/handlebars/handlebars.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@
4646
comment: [
4747
{ regex: /\}\}/, pop: true, token: "comment" },
4848
{ regex: /./, token: "comment" }
49-
]
49+
],
50+
meta: {
51+
blockCommentStart: "{{--",
52+
blockCommentEnd: "--}}"
53+
}
5054
});
5155

5256
CodeMirror.defineMode("handlebars", function(config, parserConfig) {

0 commit comments

Comments
 (0)