Wscats / vue-snippets

Visual Studio Code Syntax Highlighting For Vue3 And Vue2
https://marketplace.visualstudio.com/items?itemName=Wscats.vue&ssr=false#overview
MIT License
67 stars 7 forks source link

Cursor position between an element tag #38

Open rayasabari opened 1 year ago

rayasabari commented 1 year ago

Hi, I like this extension for component highlighting in Vue 3, but when I enable this extension, I have a problem when I give a line break between open and close element tag, the cursor position not located in the middle of element tag. Here are the example:

cursor position when I give a line break between a div tag

<div
|</div>

expected cursor position when give a line break

<div>
  |
</div>

I am very grateful if this issue can be fix Thanks