aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/heex/highlights.scm3
2 files changed, 4 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index e59803da..ba9419b3 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1223,7 +1223,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "heex"
-source = { git = "https://github.com/connorlay/tree-sitter-heex", rev = "592e22292a367312c35e13de7fdb888f029981d6" }
+source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "961bc4d2937cfd24ceb0a5a6b2da607809f8822e" }
[[language]]
name = "sql"
diff --git a/runtime/queries/heex/highlights.scm b/runtime/queries/heex/highlights.scm
index d63853b5..c42a689f 100644
--- a/runtime/queries/heex/highlights.scm
+++ b/runtime/queries/heex/highlights.scm
@@ -49,6 +49,9 @@
(quoted_attribute_value)
] @string
+; HEEx special attributes are keywords
+(special_attribute_name) @keyword
+
; HEEx components are highlighted as Elixir modules and functions
(component_name
[