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

Refactor if/else-if statement syntax regex matching #31

Merged
merged 3 commits into from
Feb 18, 2024

Conversation

alehechka
Copy link
Contributor

Overview

Relates to a-h/templ#524

This resolves the broken syntax highlight on if/else-if multi-line condition statements.

Before

before-broken-statements

After

after-working-statements

@a-h a-h merged commit 75d7f4a into templ-go:main Feb 18, 2024
@alehechka alehechka deleted the issue_524-ifelseif branch February 18, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants