nvim-treesitter/queries/heex/injections.scm

11 lines
350 B
Scheme
Raw Normal View History

2021-08-16 15:53:10 -07:00
; TODO: once @combined is fixed for all modules, replace this with the two queries below
(expression_value) @elixir
; Directives are combined to support do blocks
2021-08-16 15:53:10 -07:00
; (directive (expression_value) @elixir @combined)
; Expressions are not combined, as they exist separately from do blocks
2021-08-16 15:53:10 -07:00
; (expression (expression_value) @elixir)
(comment) @comment