Skip to content

Mistaken syntax parsing for double curly braces of vue template #5964

@KagerouKaede

Description

@KagerouKaede

Vue - Official extension or vue-tsc version

3.2.4

VSCode version

1.109.3 b6a47e94e326b5c209d118cf0f994d6065585705 x64

Vue version

3.5.27

TypeScript version

5.9.3

System Info

System:
    OS: Windows 11 10.0.26200
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P
    Memory: 7.83 GB / 15.73 GB
  Binaries:
    Node: 22.17.0 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - C:\Users\A1777\AppData\Roaming\npm\yarn.CMD
    npm: 10.9.2 - D:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 145.0.7632.75
    Edge: Chromium (140.0.3485.54)

package.json dependencies

{
  "dependencies": {
    "pinia": "^3.0.4",
    "vue": "^3.5.24"
  },
  "devDependencies": {
    "@types/node": "^24.10.1",
    "@vitejs/plugin-vue": "^6.0.1",
    "@vue/tsconfig": "^0.8.1",
    "typescript": "~5.9.3",
    "vite": "^7.2.4",
    "vue-tsc": "^3.1.4"
  }
}

Steps to reproduce

Damage one of two double curly braces at the end closer to the other, and then repair it.

0.mp4

What is expected?

The two objects that were parsed as one single object after the damage should revert to their original state.

What is actually happening?

It is necessary to delete one of the objects and add it back for proper parsing to occur.

Image

Link to minimal reproduction

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good reproduction ✨This issue provides a good reproduction, we will be able to investigate it first🔩 p2-edge-case

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions