blob: bd5f014a1e274258dcdb5be779283abd2c59e1dc (
plain)
1
2
3
4
5
6
7
8
9
10
|
((template_string
(string_fragment) @injection.content)
(#set! injection.language "sql")
(#match? @injection.content "^[ \t\r\n]*(SELECT|CREATE|INSERT|UPDATE|DELETE|ALTER|DROP)[ \t\r\n].*(TABLE|COLUMN|FROM|WHERE|VALUES)"))
((template_string
(string_fragment) @injection.content)
(#set! injection.language "html")
(#match? @injection.content "<[a-zA-Z]+[^>]*>"))
|