blob: 7c1e4e9fab39bffff3d84926bac03fc041327f7d (
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|REPLACE)[ \t\r\n].*(TABLE|COLUMN|FROM|WHERE|VALUES|INTO)"))
((template_string
(string_fragment) @injection.content)
(#set! injection.language "html")
(#match? @injection.content "<[a-zA-Z]+[^>]*>"))
|