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 regular expressions to allow whitespace before template tag #52

Merged
merged 1 commit into from
Feb 23, 2023
Merged

fix regular expressions to allow whitespace before template tag #52

merged 1 commit into from
Feb 23, 2023

Conversation

shannonmoeller
Copy link
Contributor

@shannonmoeller shannonmoeller commented Feb 3, 2023

Every regular expression that matches the uncommented version of template tags other than the one for sql has a bug: any leading whitespace breaks syntax highlighting. This PR adds support for optional leading whitespace which fixes the issue.

Before:
image

After:
image

@shannonmoeller
Copy link
Contributor Author

Sorry to be annoying, but thought I'd give this a quick bump. Thanks for the extension. Looking forward to this tweak making my life even better.

@0x00000001A 0x00000001A merged commit 95ce3f5 into 0x00000001A:master Feb 23, 2023
@0x00000001A
Copy link
Owner

@shannonmoeller
Sorry
Currently I've experiencing some turbulent time in my life
This mr will be merged n published asap

@shannonmoeller
Copy link
Contributor Author

@0x00000001A I'm so sorry to hear that. I hope things get better for you soon.

Thank you very much for your time and merging this change.

@shannonmoeller
Copy link
Contributor Author

Thank you again very much, but it looks like maybe the wrong version number was used?
image

@shannonmoeller
Copy link
Contributor Author

Thanks for the version bump!

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.

None yet

2 participants