mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
fix: missing erroneous end tag
This commit is contained in:
parent
72d38fc44b
commit
25bb379a05
1 changed files with 15 additions and 6 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
(tag_name) @tag
|
|
||||||
(attribute_name) @property
|
|
||||||
(attribute_value) @string
|
|
||||||
(quoted_attribute_value) @string
|
|
||||||
(comment) @comment
|
|
||||||
|
|
||||||
((element (start_tag (tag_name) @_tag) (text) @text.title)
|
((element (start_tag (tag_name) @_tag) (text) @text.title)
|
||||||
(#match? @_tag "^(h[0-9]|title)$"))
|
(#match? @_tag "^(h[0-9]|title)$"))
|
||||||
|
|
||||||
|
|
@ -30,6 +24,21 @@
|
||||||
(quoted_attribute_value (attribute_value) @text.uri))
|
(quoted_attribute_value (attribute_value) @text.uri))
|
||||||
(#eq? @_attr "href"))
|
(#eq? @_attr "href"))
|
||||||
|
|
||||||
|
(tag_name) @tag
|
||||||
|
(attribute_name) @property
|
||||||
|
(errorneous_end_tag_name) @error
|
||||||
|
(comment) @comment
|
||||||
|
|
||||||
|
[
|
||||||
|
(attribute_value)
|
||||||
|
(quoted_attribute_value)
|
||||||
|
] @string
|
||||||
|
|
||||||
|
[
|
||||||
|
(text)
|
||||||
|
(raw_text_expr)
|
||||||
|
] @none
|
||||||
|
|
||||||
[
|
[
|
||||||
(special_block_keyword)
|
(special_block_keyword)
|
||||||
(then)
|
(then)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue