Skip to content

Commit 9414ed0

Browse files
committedNov 20, 2019
Fixed incorrect syntax highlighting of string literals.
1 parent 0ab6327 commit 9414ed0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎syntaxes/lua.tmLanguage.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
"name": "string.quoted.single.lua",
8787
"patterns": [
8888
{
89-
"include": "#escaped_char"
89+
"match": "\\\\.",
90+
"name": "constant.character.escape.lua"
9091
}
9192
]
9293
},
@@ -106,7 +107,8 @@
106107
"name": "string.quoted.double.lua",
107108
"patterns": [
108109
{
109-
"include": "#escaped_char"
110+
"match": "\\\\.",
111+
"name": "constant.character.escape.lua"
110112
}
111113
]
112114
},

0 commit comments

Comments
 (0)
Please sign in to comment.