mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17: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)
|
||||
] @tag
|
||||
|
||||
(doctype) @constant
|
||||
|
||||
(attribute
|
||||
name: (attribute_name) @tag.attribute)
|
||||
|
||||
|
|
@ -41,6 +43,14 @@
|
|||
|
||||
(element_comment) @comment @spell
|
||||
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
"</"
|
||||
"/>"
|
||||
"<!"
|
||||
] @tag.delimiter
|
||||
|
||||
"@" @operator
|
||||
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue