aboutsummaryrefslogtreecommitdiffstats
path: root/queries/heex
diff options
context:
space:
mode:
authorClay <connorlay@pm.me>2021-08-16 15:53:10 -0700
committerThomas Vigouroux <tomvig38@gmail.com>2021-08-18 14:07:59 +0200
commit7e82ea4e7b2ee265600ebb86cbed7259cde9b90f (patch)
tree4bb8dd0f3f9b1181c82e16bc888fda5b4af1ceb2 /queries/heex
parentAdd doctype highlights (diff)
downloadnvim-treesitter-7e82ea4e7b2ee265600ebb86cbed7259cde9b90f.tar
nvim-treesitter-7e82ea4e7b2ee265600ebb86cbed7259cde9b90f.tar.gz
nvim-treesitter-7e82ea4e7b2ee265600ebb86cbed7259cde9b90f.tar.bz2
nvim-treesitter-7e82ea4e7b2ee265600ebb86cbed7259cde9b90f.tar.lz
nvim-treesitter-7e82ea4e7b2ee265600ebb86cbed7259cde9b90f.tar.xz
nvim-treesitter-7e82ea4e7b2ee265600ebb86cbed7259cde9b90f.tar.zst
nvim-treesitter-7e82ea4e7b2ee265600ebb86cbed7259cde9b90f.zip
Disable combined injections for HEEx
Diffstat (limited to 'queries/heex')
-rw-r--r--queries/heex/injections.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/queries/heex/injections.scm b/queries/heex/injections.scm
index de3b4202d..ab7a3c87d 100644
--- a/queries/heex/injections.scm
+++ b/queries/heex/injections.scm
@@ -1,7 +1,10 @@
+; 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
-(directive (expression_value) @elixir @combined)
+; (directive (expression_value) @elixir @combined)
; Expressions are not combined, as they exist separately from do blocks
-(expression (expression_value) @elixir)
+; (expression (expression_value) @elixir)
(comment) @comment