Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Commit 1e57a4d

Browse files
committed
fixes trailing highlighting with SQL cases
1 parent c13506e commit 1e57a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxes/es6-inline-sql.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"patterns": [
2424
{
25-
"begin": "(?i)(\\s*(sql))(`)",
25+
"begin": "(?i)\\b(\\w+\\.sql)\\s*(`)",
2626
"end": "(`)",
2727
"beginCaptures": {
2828
"1": {

0 commit comments

Comments
 (0)