Skip to content

Commit cf8b7cb

Browse files
author
Peter Weir
committed
added wildcards to allow spaces in begin and end patterns
1 parent 387b0e5 commit cf8b7cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntaxes/highlight-sql-string.json

Lines changed: 2 additions & 2 deletions
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)",
9+
"end": "( *;| *--endsql| *--end-sql)",
1010
"captures": {
1111
"1": {
1212
"name": "variable.parameter"

0 commit comments

Comments
 (0)