highlights(vue): improve vue highlights

- remove template_name and element and make more specific targeting
This commit is contained in:
Michael Chris Lopez
2021-12-18 15:31:09 +08:00
committed by Stephan Seitz
parent 5e2121a227
commit 1f8ef8fe52

View File

@@ -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