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

Syntax highlighting glitch for @keydown.+="" #42

Open vincesp opened 1 year ago

vincesp commented 1 year ago

When registering keydown handlers for the plus and minus keys, then there is a glitch in the code highlighting.

This is my code:

<FileItem
  @keydown.left="item.expanded = false"
  @keydown.right="item.expanded = true"
  @keydown.-="item.expanded = false"
  @keydown.+="item.expanded = true"
></FileItem>

Result: image

While the highlighting is correct for the minus key, it seems off for the plus key.