blob: 992ec0873d4dfcb59fe716204a0ed14f53a96319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
((string
(string_content) @injection.content)
(#set! injection.language "sql")
(#match? @injection.content "^[ \t\r\n]*(SELECT|CREATE|INSERT|UPDATE|DELETE|ALTER|DROP|REPLACE)[ \t\r\n].*(TABLE|COLUMN|FROM|WHERE|VALUES|INTO)"))
((variable_declaration
(multiline_string) @injection.content)
(#set! injection.language "sql")
(#match? @injection.content "^[ \t\r\n]*(SELECT|CREATE|INSERT|UPDATE|DELETE|ALTER|DROP|REPLACE)[ \t\r\n].*(TABLE|COLUMN|FROM|WHERE|VALUES|INTO)"))
((variable_declaration
(multiline_string) @injection.content)
(#set! injection.language "html")
(#match? @injection.content "<[a-zA-Z]+[^>]*>"))
((string
(string_content) @injection.content)
(#set! injection.language "html")
(#match? @injection.content "<[a-zA-Z]+[^>]*>"))
|