vuejs / vue-syntax-highlight

💡 Sublime Text syntax highlighting for single-file Vue components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template-tag regex matches components prefixed "template"

abjugard opened this issue · comments

Current implementation of the template-tag regex matches Vue components with a name starting with the word "template". It is a simple fix for the new branch, and I have made a PR correcting it there.

Here's some screenshots to illustrate my point.

Current behaviour:
image

With my patch applied:
image

Yes, I see that my component can be simplified, not the point of this issue 😄

Thank you for your fix!