Skip to content

Commit 2ef3aeb

Browse files
committed
Support escape in tagged templates
1 parent b5fcd07 commit 2ef3aeb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: grammars/rescript.tmLanguage.json

+5-1
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)