posva / vim-vue

Syntax Highlight for Vue.js components
MIT License
1.29k stars 103 forks source link

Html data attribute doesn't highlight correctly #136

Closed amerov closed 5 years ago

amerov commented 5 years ago

Screenshot from 2019-06-19 22-31-46

laurentbardin commented 5 years ago

Which of these attributes aren't correctly higlighted? Are you talking about the data-* attributes?

AFAIK, any non standard attribute is not highlighted the same way as a standard one (href, src, class, etc.). Data attributes are a special case in that the data- part is standard in HTML5, what follows is free form and therefore higlighted differently. That's how the default vim HTML syntax works, anyway.

So everything looks fine to me here. Am I missing anything?