blob: effe2ecc7432d84f55c7f8beb589422db4ad71c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
((call
function: (attribute
object: (identifier) @_re)
arguments: (argument_list (string) @injection.content))
(#eq? @_re "re")
(#lua-match? @injection.content "^r.*")
(#set! injection.language "regex"))
((comment) @injection.content
(#set! injection.language "comment"))
|