Skip to content

Commit a4e40e7

Browse files
committed
Fix issue with highlighting of templates.
Fix issue with highlighting of templates introduced in #325 and reported in #345
1 parent d08718d commit a4e40e7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## master
2+
- Fix issue with highlighting of templates introduced in release 1.2.0.
23

34
## 1.2.0
45

grammars/rescript.tmLanguage.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
{
128128
"name": "string.template",
129129
"begin": "([a-z_][0-9a-zA-Z_]*)?(`)",
130-
"end": "[^\\\\]`",
130+
"end": "(?<!\\\\)`",
131131
"beginCaptures": {
132132
"1": {
133133
"name": "variables.annotation"

0 commit comments

Comments
 (0)