mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
11 lines
439 B
Scheme
11 lines
439 B
Scheme
;extends
|
|
(call
|
|
function: (attribute attribute: (identifier) @id (#match? @id "execute|read_sql"))
|
|
arguments: (argument_list
|
|
(string (string_content) @injection.content (#set! injection.language "sql"))))
|
|
|
|
(string
|
|
(string_content) @injection.content
|
|
(#match? @injection.content "^\n*\\s*(SELECT|CREATE|DROP|INSERT|UPDATE|ALTER|DELETE|select|create|drop|insert|update|alter|delete)\\W+")
|
|
(#set! injection.language "sql"))
|