diff --git a/syntaxes/highlight-sql-string.json b/syntaxes/highlight-sql-string.json index 50ad41e..2c4c923 100644 --- a/syntaxes/highlight-sql-string.json +++ b/syntaxes/highlight-sql-string.json @@ -5,8 +5,8 @@ "injectionSelector": "L:string.quoted.multi.python, L:meta.fstring.python - (comment.line.number-sign.python, punctuation.definition.comment.python)", "patterns": [ { - "begin": "( *--sql| *--beginsql| *--begin-sql)", - "end": "( *;| *--endsql| *--end-sql)", + "begin": "( *--sql| *--beginsql| *--begin-sql| *-- sql| *-- beginsql| *-- begin-sql)", + "end": "( *;| *--endsql| *--end-sql| * ;| *-- endsql| *-- end-sql)", "captures": { "1": { "name": "variable.parameter" @@ -20,4 +20,4 @@ } ], "scopeName": "python-sql.injection" -} \ No newline at end of file +}