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

Syntax highlighting glitch for @keydown.+=""

Open vincesp opened this issue 1 year ago • 0 comments

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.

vincesp avatar Mar 01 '23 15:03 vincesp