HEEx: upgrade version and support new special_attribute node (#2800)
commitb13e534b92a2616134157d9df80c49dd6af223c6
authorClay <connorlay@users.noreply.github.com>
dateFri 17 Jun 2022, 15:30 (4 years ago)
parent15807d5
languages.toml+1−1
@@ -1223,7 +1223,7 @@ indent = { tab-width = 2, unit = " " }
12231223
12241224[[grammar]]
12251225name = "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" }
12271227
12281228[[language]]
12291229name = "sql"
runtime/queries/heex/highlights.scm+3
@@ -49,6 +49,9 @@
4949 (quoted_attribute_value)
5050] @string
5151
52+; HEEx special attributes are keywords
53+(special_attribute_name) @keyword
54+
5255; HEEx components are highlighted as Elixir modules and functions
5356(component_name
5457 [