We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdbc72c commit 723523aCopy full SHA for 723523a
2 files changed
syntaxes/highlight-sql-string.json
@@ -109,7 +109,8 @@
109
]
110
},
111
{
112
- "begin": "(\"\"\")(--\\s*sql)",
+ "comment": "Python multi-line strings",
113
+ "begin": "f?(\"\"\")(--\\s*sql)",
114
"beginCaptures": {
115
"2": {
116
"name": "comment.sql"
test/testdata/multiline.py
@@ -9,3 +9,8 @@
9
query_with_db_identifiers = """--sql
10
delete * from "book";
11
"""
12
+
13
+some_table = "book"
14
+f_string = f"""--sql
15
+select * from {some_table}
16
+"""
0 commit comments