hedefalk / atom-vue

Vue component file syntax for Atom
Other
147 stars 38 forks source link

Highlighting issues: no attribute highlighting, dash-case element bug #82

Closed robwierzbowski closed 6 years ago

robwierzbowski commented 6 years ago

I just installed and notice two issues with the language highlighting:

No attribute highlighting

image

Related Atom discussion: https://discuss.atom.io/t/syntax-highlighting-vue-files-html-attributes/44258

Seems like someone in that issue may have a solution that could be backported into this package.

Elements in dash-case aren't highlighted correctly

image

Only the first word is highlighted. I see there's a closed issue here: https://github.com/hedefalk/atom-vue/issues/76. My screenshot is from a .vue file.

Compare to the Sublime highlighting plugin

image

Thanks for any help with these issues!

robwierzbowski commented 6 years ago

Ahhh, after reading some other issues I realized I had both language-vue and language-vue-component installed. Everything works perfectly, sorry for the bother 🙇 .