Skip to content

Commit 4464531

Browse files
committed
feat(elixir,treesitter): highlight arg to Repo.query! as SQL
1 parent a2392bf commit 4464531

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

queries/elixir/injections.scm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
(string
77
(quoted_content) @sql)))
88

9+
(call (dot left: (alias) @_alias (#eq? @_alias "Repo") right: (identifier) @_identifier (#eq? @_identifier "query!")) (arguments (string (quoted_content) @sql))) @foo
10+
911
((call
1012
target: (dot
1113
left: (alias) @_mod (#eq? @_mod "EEx")

0 commit comments

Comments
 (0)