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: highlight enum keyword #42

Merged
merged 11 commits into from
Aug 8, 2023
Merged

Conversation

jaschdoc
Copy link
Member

@jaschdoc jaschdoc commented Aug 8, 2023

Fixes enum highlighting and corrects typo of deafult -> default. Also updates hightlight.js to latest version.

The issue was both the syntax of the keywords in beginKeywords (should be separated by space, not |), and the end regex which had a \( expression outside the [] matcher. Just leaving this here for future reference.

Related to flix/book#104

Fixes #28

@jaschdoc jaschdoc marked this pull request as ready for review August 8, 2023 12:19
@magnus-madsen magnus-madsen merged commit bcba683 into flix:master Aug 8, 2023
5 checks passed
@magnus-madsen
Copy link
Member

Thanks!

@jaschdoc jaschdoc deleted the fix-enum-highlight branch August 8, 2023 13:15
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.

enum keyword is not highlighted as a keyword
2 participants