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

Remove empty rules in regions #3458

Merged
merged 6 commits into from
Sep 9, 2024
Merged

Conversation

JoeKar
Copy link
Collaborator

@JoeKar JoeKar commented Sep 7, 2024

It had been bothering me for some time that we have to add empty rules to the regions defined in the syntax definitions in case no further nesting shall apply (rules: []).
This came up in #3450 again and I decide to take care of it.

pkg/highlight/parser.go Outdated Show resolved Hide resolved
@JoeKar JoeKar merged commit 8c52d24 into zyedidia:master Sep 9, 2024
3 checks passed
@JoeKar JoeKar deleted the feature/empty-rules branch September 9, 2024 16:48
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