Loss of Syntax Highlighting for an Element When Subsequent Elements in Template Are Folded #4926
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
🍰 p2-nice-to-have
Vue - Official extension or vue-tsc version
v2.1.6
VSCode version
1.94.2 (windows system setup)
Vue version
3.5.12
TypeScript version
5.6.3
System Info
package.json dependencies
Steps to reproduce
npm create vue@latest
.CompA
.CompB
.App.vue
.CompA
inApp.vue
with av-for
directive.CompB
afterCompA
and ensure it can be folded.CompB
with an arbitrary class name.CompB
to observe the issue.What is expected?
When the "comp-b" component is folded, the "comp-a" component is highlighted in green.
What is actually happening?
When the "comp-b" component is folded, the "comp-a" component loses its highlight display.
Link to minimal reproduction
https://github.com/Wonder2018/volar-issue-highlighting-loss
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: