Skip to content

Commit dc9a194

Browse files
authored
Merge pull request #7 from AndrewBasem1/patch-1
Adding support for mySQL
2 parents be9327e + 9ec03c7 commit dc9a194

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

syntaxes/highlight-sql-string.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"injectionSelector": "L:string.quoted.multi.python, L:meta.fstring.python - (comment.line.number-sign.python, punctuation.definition.comment.python)",
66
"patterns": [
77
{
8-
"begin": "( *--sql| *--beginsql| *--begin-sql)",
9-
"end": "( *;| *--endsql| *--end-sql)",
8+
"begin": "( *--sql| *--beginsql| *--begin-sql| *-- sql| *-- beginsql| *-- begin-sql)",
9+
"end": "( *;| *--endsql| *--end-sql| * ;| *-- endsql| *-- end-sql)",
1010
"captures": {
1111
"1": {
1212
"name": "variable.parameter"
@@ -20,4 +20,4 @@
2020
}
2121
],
2222
"scopeName": "python-sql.injection"
23-
}
23+
}

0 commit comments

Comments
 (0)