vim-vue icon indicating copy to clipboard operation
vim-vue copied to clipboard

style highlight is not right when use `<i />`

Open FuDesign2008 opened this issue 3 years ago • 2 comments

The following code will cause incorrect style highlight

<template>
    <i class="el-icon-arrow-down el-icon--right" />
</template>
<script lang="ts" src="./Test.ts"></script>
<style lang="scss" scoped>
p {
  color: red;
}
</style>

WX20210527-175503@2x

If the code is changed with </i>, the style highlight is ok

<template>
    <i class="el-icon-arrow-down el-icon--right" />
</template>
<script lang="ts" src="./Test.ts"></script>
<style lang="scss" scoped>
p {
  color: red;
}
</style>

WX20210527-175614@2x

FuDesign2008 avatar May 27 '21 09:05 FuDesign2008

I'm experiencing exactly same issue.

Kogia-sima avatar Apr 28 '22 14:04 Kogia-sima

Screenshot 2023-09-21 at 12 37 28 PM

ryleyb avatar Sep 21 '23 19:09 ryleyb