working nvf!

This commit is contained in:
Charlie Root 2024-07-06 17:14:45 +02:00
commit 2a80c2bac1
53 changed files with 330 additions and 172 deletions

View file

@ -0,0 +1,14 @@
;extends
(macro_invocation
(scoped_identifier
path: (identifier) @path (#eq? @path "sqlx")
name: (identifier) @name (#match? @name "^query.*")
)
(token_tree
(raw_string_literal) @injection.content
(#set! injection.language "sql")
(#set! injection.include-children)
)
(#offset! @injection.content 0 3 0 -2)
)