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

Broken syntax highlighting after the first submodule #284

Open
hwayne opened this issue Apr 24, 2023 · 1 comment
Open

Broken syntax highlighting after the first submodule #284

hwayne opened this issue Apr 24, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hwayne
Copy link

hwayne commented Apr 24, 2023

---- MODULE foo ----
---- MODULE bar ----

Op1 == TRUE
====

Op2 == TRUE
====

Highlighting will not cover Op2.

@lemmy
Copy link
Member

lemmy commented Apr 25, 2023

The second module header nested within doesn't even get highlighted accurately. I assume that it has never been correctly highlighted. AFAIK syntax highlighting is based on regex and I imagine this case will be difficult to handle.

Screenshot 2023-04-25 at 9 05 55 AM

@lemmy lemmy added the bug Something isn't working label Apr 25, 2023
@lemmy lemmy changed the title Nightly stops syntax highlighting after the first submodule Broken syntax highlighting after the first submodule May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants