Skip to content

Commit 74d1867

Browse files
committed
Support escape in tagged templates
1 parent 3b996bb commit 74d1867

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

grammars/rescript.tmLanguage.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@
160160
}
161161
},
162162
"patterns": [
163+
{
164+
"name": "constant.character.escape",
165+
"match": "\\\\."
166+
},
163167
{
164168
"name": "meta.template.expression",
165169
"begin": "\\$\\{",
@@ -606,4 +610,4 @@
606610
"include": "#defaultIdIsVariable"
607611
}
608612
]
609-
}
613+
}

0 commit comments

Comments
 (0)