unplugin/unplugin-vue-components

component name is not highlighted

lstgithub578 opened this issue · 0 comments

Describe the bug

The component name is not highlighted and cannot hold down ctrl+ click Jump.
image

Reproduction

<script setup lang="ts">
import { ElButton } from 'element-plus';
defineOptions({
    name: 'TempIndex'
})
</script>

<template>
    <div>
        <ElButton>  
        </ElButton>
    </div>
</template>

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
    Memory: 371.21 MB / 7.89 GB
  Binaries:
    Node: 18.20.4 - D:\nvmnodejs\node.EXE
    Yarn: 1.22.22 - D:\nvmnodejs\yarn.CMD
    npm: 10.7.0 - D:\nvmnodejs\npm.CMD
    pnpm: 9.6.0 - D:\nvmnodejs\pnpm.CMD
  Browsers:
    Chrome: 127.0.6533.89
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.