mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
feat(templ): add highlights (#6464)
This commit is contained in:
parent
208d504421
commit
baaae36ac7
1 changed files with 10 additions and 0 deletions
|
|
@ -10,6 +10,8 @@
|
||||||
(style_element)
|
(style_element)
|
||||||
] @tag
|
] @tag
|
||||||
|
|
||||||
|
(doctype) @constant
|
||||||
|
|
||||||
(attribute
|
(attribute
|
||||||
name: (attribute_name) @tag.attribute)
|
name: (attribute_name) @tag.attribute)
|
||||||
|
|
||||||
|
|
@ -41,6 +43,14 @@
|
||||||
|
|
||||||
(element_comment) @comment @spell
|
(element_comment) @comment @spell
|
||||||
|
|
||||||
|
[
|
||||||
|
"<"
|
||||||
|
">"
|
||||||
|
"</"
|
||||||
|
"/>"
|
||||||
|
"<!"
|
||||||
|
] @tag.delimiter
|
||||||
|
|
||||||
"@" @operator
|
"@" @operator
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue