Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting breaks with multi-line if statement and < symbol #4741

Open
twisterniq opened this issue Aug 29, 2024 · 0 comments
Open
Labels
bug Something isn't working 🍰 p2-nice-to-have

Comments

@twisterniq
Copy link

twisterniq commented Aug 29, 2024

Vue - Official extension or vue-tsc version

2.1.0

VSCode version

1.92.2

Vue version

3.4.38

TypeScript version

5.5.4

System Info

No response

Steps to reproduce

The problem occurs when writing an if statement with two conditions, the second condition is placed with the < symbol on a new line, and the closing parenthesis ) is on another new line. This causes the issue.

This issue does not occur with the > symbol.

What is expected?

Highlighting should be correct

image

What is actually happening?

It brokes the highligting

image

Link to minimal reproduction

Vue Playground

Any additional comments?

No response

@twisterniq twisterniq changed the title Syntax Highlighting broken after an if condition Syntax highlighting breaks with multi-line if statement and < symbol Aug 29, 2024
@KazariEX KazariEX added bug Something isn't working 🍰 p2-nice-to-have and removed pending triage labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🍰 p2-nice-to-have
Projects
None yet
Development

No branches or pull requests

2 participants