VasilVerdouw / vue-colors

Simple VS Code extension for VUE to highlight script, html and css.
https://marketplace.visualstudio.com/items?itemName=vasilverdouw.vue-colors
GNU General Public License v3.0
5 stars 1 forks source link

Incorrectly highlights all template tags instead of only the root element. #3

Closed Kisem closed 4 hours ago

Kisem commented 1 week ago

image

VasilVerdouw commented 1 week ago

Thanks for letting me know, will work on this. What do you think is expected behavior?

Something like this?

<template> HIGHLIGHT START
    <template>
    </template>

    <template>
    </template>
</template> HIGHLIGHT END
kamatil-dev commented 1 week ago

Thanks for letting me know, will work on this. What do you think is expected behavior?

Something like this?

<template> HIGHLIGHT START
    <template>
    </template>

    <template>
    </template>
</template> HIGHLIGHT END

Yes, or maybe a different opacity color for recursive templates green>darker>darker green

Kisem commented 1 week ago

Thanks for letting me know, will work on this. What do you think is expected behavior?

Something like this?

<template> HIGHLIGHT START
    <template>
    </template>

    <template>
    </template>
</template> HIGHLIGHT END

Correct.