remove single quoted string (qstring) from lean-mode
This commit is contained in:
parent
8f49d3d897
commit
74800e84ee
1 changed files with 0 additions and 9 deletions
|
|
@ -108,13 +108,6 @@ var leanHighlightRules = function() {
|
||||||
token : "string", // multi line string start
|
token : "string", // multi line string start
|
||||||
regex : '["].*\\\\$',
|
regex : '["].*\\\\$',
|
||||||
next : "qqstring"
|
next : "qqstring"
|
||||||
}, {
|
|
||||||
token : "string", // single line
|
|
||||||
regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
|
|
||||||
}, {
|
|
||||||
token : "string", // multi line string start
|
|
||||||
regex : "['].*\\\\$",
|
|
||||||
next : "qstring"
|
|
||||||
}, {
|
}, {
|
||||||
token : "constant.numeric", // hex
|
token : "constant.numeric", // hex
|
||||||
regex : "0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"
|
regex : "0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"
|
||||||
|
|
@ -155,8 +148,6 @@ var leanHighlightRules = function() {
|
||||||
{defaultToken: "comment"} ],
|
{defaultToken: "comment"} ],
|
||||||
"qqstring" : [ {token : "string", regex : '(?:(?:\\\\.)|(?:[^"\\\\]))*?"', next : "start" },
|
"qqstring" : [ {token : "string", regex : '(?:(?:\\\\.)|(?:[^"\\\\]))*?"', next : "start" },
|
||||||
{defaultToken: "qqstring"} ],
|
{defaultToken: "qqstring"} ],
|
||||||
"qstring" : [ {token : "string", regex : "(?:(?:\\\\.)|(?:[^'\\\\]))*?'", next : "start" },
|
|
||||||
{defaultToken: "qstring"} ],
|
|
||||||
"directive" : [
|
"directive" : [
|
||||||
{
|
{
|
||||||
token : "constant.other.multiline",
|
token : "constant.other.multiline",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue