mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
Support HEEx slots
This commit is contained in:
parent
efedf3510a
commit
083aee0873
6 changed files with 34 additions and 16 deletions
|
|
@ -1,11 +1,13 @@
|
|||
; HEEx tags and components are references
|
||||
; HEEx tags, components, and slots are references
|
||||
[
|
||||
(tag_name)
|
||||
(component_name)
|
||||
(slot_name)
|
||||
(tag_name)
|
||||
] @reference
|
||||
|
||||
; Create a new scope within each HEEx tag or component
|
||||
; Create a new scope within each HEEx tag, component, and slot
|
||||
[
|
||||
(tag)
|
||||
(component)
|
||||
(slot)
|
||||
(tag)
|
||||
] @scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue