mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
highlights(vue): improve vue highlights
- remove template_name and element and make more specific targeting
This commit is contained in:
committed by
Stephan Seitz
parent
5e2121a227
commit
1f8ef8fe52
@@ -1,20 +1,23 @@
|
||||
; inherits: html_tags
|
||||
|
||||
[
|
||||
(template_element)
|
||||
(directive_attribute)
|
||||
(directive_dynamic_argument)
|
||||
(directive_dynamic_argument_value)
|
||||
(component)
|
||||
] @tag
|
||||
|
||||
(element) @string
|
||||
(interpolation) @punctuation.special
|
||||
(interpolation
|
||||
(raw_text) @none)
|
||||
|
||||
(directive_name) @tag.attribute
|
||||
|
||||
(directive_attribute
|
||||
(quoted_attribute_value) @punctuation.special)
|
||||
|
||||
(directive_attribute
|
||||
(quoted_attribute_value (attribute_value) @none))
|
||||
|
||||
[
|
||||
(directive_modifier)
|
||||
(directive_name)
|
||||
(directive_argument)
|
||||
] @method
|
||||
|
||||
Reference in New Issue
Block a user