mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
Upgrade to HEEx parser 0.3.0
This commit is contained in:
parent
c7d5ba7212
commit
9e90866bce
4 changed files with 51 additions and 22 deletions
|
|
@ -1,10 +1,10 @@
|
|||
; TODO: once @combined is fixed for all modules, replace this with the two queries below
|
||||
(expression_value) @elixir
|
||||
; HEEx directives can span multiple interpolated lines of Elixir
|
||||
(directive [
|
||||
(expression_value)
|
||||
(partial_expression_value)
|
||||
] @elixir @combined)
|
||||
|
||||
; Directives are combined to support do blocks
|
||||
; (directive (expression_value) @elixir @combined)
|
||||
|
||||
; Expressions are not combined, as they exist separately from do blocks
|
||||
; (expression (expression_value) @elixir)
|
||||
; HEEx Elixir expressions are always within a tag or component
|
||||
(expression (expression_value) @elixir)
|
||||
|
||||
(comment) @comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue