HEEx: upgrade version and support new special_attribute node (#2800)

This commit is contained in:
Clay 2022-06-17 15:30:28 -07:00 committed by GitHub
parent 15807d5f27
commit b13e534b92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -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"

View file

@ -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
[