on master help sign in
HEEx: upgrade version and support new special_attribute node (#2800)
b13e534Clay
languages.toml+1−1
@@ -1223,7 +1223,7 @@ indent = { tab-width = 2, unit = " " }
1223
1223
1224[[grammar]]
1224[[grammar]]
1225name = "heex"
1225name = "heex"
1226−source = { git = "https://github.com/connorlay/tree-sitter-heex", rev = "592e22292a367312c35e13de7fdb888f029981d6" }
1226+source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "961bc4d2937cfd24ceb0a5a6b2da607809f8822e" }
1227
1227
1228[[language]]
1228[[language]]
1229name = "sql"
1229name = "sql"
runtime/queries/heex/highlights.scm+3
@@ -49,6 +49,9 @@
49 (quoted_attribute_value)
49 (quoted_attribute_value)
50] @string
50] @string
51
51
52+; HEEx special attributes are keywords
53+(special_attribute_name) @keyword
54+
52; HEEx components are highlighted as Elixir modules and functions
55; HEEx components are highlighted as Elixir modules and functions
53(component_name
56(component_name
54 [
57 [