mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 03:47:51 +03:00
HEEx: upgrade version and support new special_attribute node (#2800)
This commit is contained in:
parent
15807d5f27
commit
b13e534b92
2 changed files with 4 additions and 1 deletions
|
@ -1223,7 +1223,7 @@ indent = { tab-width = 2, unit = " " }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "heex"
|
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]]
|
[[language]]
|
||||||
name = "sql"
|
name = "sql"
|
||||||
|
|
|
@ -49,6 +49,9 @@
|
||||||
(quoted_attribute_value)
|
(quoted_attribute_value)
|
||||||
] @string
|
] @string
|
||||||
|
|
||||||
|
; HEEx special attributes are keywords
|
||||||
|
(special_attribute_name) @keyword
|
||||||
|
|
||||||
; HEEx components are highlighted as Elixir modules and functions
|
; HEEx components are highlighted as Elixir modules and functions
|
||||||
(component_name
|
(component_name
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue