Fix(grammar): Correct Unicode string prefix highlighting
This commit is contained in:
1 parent
7ddfae291d
commit
4b46885be2
2 files changed
+1
-7
No files matched your search
@@ -6,9 +6,6 @@
|
||||
"name": "meta.dynamic-sql.literal.sql",
|
||||
"begin": "(?i:(?<![A-Za-z0-9_])(N)?(')(?:(?=[ \\t]*;?[ \\t]*(?:SELECT|WITH|INSERT|UPDATE|DELETE|MERGE|EXEC(?:UTE)?|CREATE|ALTER|DROP|DECLARE|SET|USE|FROM|WHERE|JOIN|IF|HAVING|UNION|GROUP[ \\t]+BY|ORDER[ \\t]+BY)\\b)|(?=[ \\t]*;?[ \\t]*$)))",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "storage.type.string.sql"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.definition.string.begin.sql"
|
||||
}
|
||||
@@ -36,7 +33,7 @@
|
||||
},
|
||||
{
|
||||
"name": "string.quoted.single.sql",
|
||||
"match": "''(?:[^']|'')*?''"
|
||||
"match": "(?i:(?<![A-Za-z0-9_])N)?''(?:[^']|'')*?''"
|
||||
},
|
||||
{
|
||||
"name": "constant.character.escape.sql",
|
||||
@@ -97,9 +94,6 @@
|
||||
"name": "string.quoted.single.sql",
|
||||
"begin": "(?i:(?<![A-Za-z0-9_])(N))?(')",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "storage.type.string.sql"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.definition.string.begin.sql"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user