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

Fix highlighting of end in end match #51

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

phannebohm
Copy link
Collaborator

@phannebohm phannebohm commented Apr 19, 2024

Purpose

The end keyword was marked as keyword which differs from other control statements like if and for.
The reason was that end can be a standalone keyword in expressions like x[end].

Approach

I changed the pattern order so end match is found first.

@AnHeuermann AnHeuermann merged commit 1136a1e into AnHeuermann:main Apr 22, 2024
3 checks passed
@phannebohm phannebohm deleted the fix-end-match branch April 22, 2024 15:07
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