mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
Add HEEx language support, add missing commentstrings
This commit is contained in:
parent
807c3da669
commit
a9e32d0cc5
14 changed files with 87 additions and 7 deletions
|
|
@ -1,5 +1,6 @@
|
|||
; Surface folds similar to HTML and includes blocks
|
||||
[
|
||||
(tag)
|
||||
(component)
|
||||
(block)
|
||||
] @fold
|
||||
|
|
|
|||
|
|
@ -19,12 +19,12 @@
|
|||
|
||||
; Surface supports HTML tags and are highlighted as such
|
||||
[
|
||||
(start_tag)
|
||||
(end_tag)
|
||||
(self_closing_tag)
|
||||
(start_component)
|
||||
(end_component)
|
||||
(self_closing_component)
|
||||
"<"
|
||||
">"
|
||||
"</"
|
||||
"/>"
|
||||
"{"
|
||||
"}"
|
||||
] @tag.delimiter
|
||||
|
||||
; Expressions are similar to string interpolation, and are highloghted as such
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
; Surface indents like HTML, with the addition of blocks
|
||||
[
|
||||
(component)
|
||||
(tag)
|
||||
(block)
|
||||
] @indent
|
||||
|
|
@ -7,6 +8,7 @@
|
|||
; Dedent at the end of each tag, as well as a subblock
|
||||
[
|
||||
(end_tag)
|
||||
(end_component)
|
||||
(end_block)
|
||||
(subblock)
|
||||
] @branch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue