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

Improve microliner highlighter #237

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

rokostik
Copy link
Contributor

@rokostik rokostik commented Jun 7, 2024

This PR refactors the microliner highlighter and can highlight more constructs.

The only issue with the current setup of highlighting one line at a time is with stings where opening a string in one line and continuing into multiline doesn't close it properly:

Screenshot 2024-06-07 at 12 39 25

@refaktor refaktor merged commit b96f610 into refaktor:main Jun 7, 2024
7 checks passed
@refaktor
Copy link
Owner

refaktor commented Jun 7, 2024

Great thank you ... we will figure the multiline string. I imagine if you are inside a string from the previous line you have to have some flag/state that you set and check in the next line?

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