mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
HTML: highlight text nodes as text
This commit is contained in:
parent
638891d401
commit
58dd95f4a4
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
(attribute_name) @tag.attribute
|
||||
(attribute_value) @string
|
||||
(quoted_attribute_value) @string
|
||||
(text) @none
|
||||
(text) @text
|
||||
|
||||
((element (start_tag (tag_name) @_tag) (text) @text.title)
|
||||
(#match? @_tag "^(h[0-9]|title)$"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue