fix highlighting of closing brace

This commit is contained in:
nightwing 2013-09-04 13:19:23 +04:00
commit 00a640e473

View file

@ -60,7 +60,7 @@ define(function(require, exports, module) {
}, {
regex: "}",
token: function(val, start, stack) {
return stack[1] == "qqstring" ? "constant.language.escape" : "text"
return stack[1] && stack[1].charAt(0) == "q" ? "constant.language.escape" : "text";
},
next: "pop"
}],