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 for Spaced Parameter Delimiter #684

Open
PhoneDroid opened this issue Jan 4, 2025 · 0 comments
Open

Broken Syntax Highlighting for Spaced Parameter Delimiter #684

PhoneDroid opened this issue Jan 4, 2025 · 0 comments
Labels
Bug Something isn't working SEV-4 Low Severity

Comments

@PhoneDroid
Copy link

Describe the bug
Adding spacing between the parameter delimiter and
the parameter name breaks syntax highlighting.

Source

Works:

{%- render 'Snipper'
    , key: value
-%}

Screenshot of the above code for future reference:
Image

Doesn't work:

{%- render 'Snipper'
    , key : value
-%}

Screenshot of the above code for future reference:
Image

Expected behaviour
Syntax highlighting works no matter the
amount of space added between a parameter
delimiter and a parameter name.

Actual behaviour
It doesn't highlight the name , delimiter not the value.

Debugging information

  • Theme Check Version 3.4.0

Additional context
Is also broken for GitHubs syntax highlighting.

@charlespwd charlespwd added the Bug Something isn't working label Jan 6, 2025
@aswamy aswamy added the SEV-4 Low Severity label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working SEV-4 Low Severity
Projects
None yet
Development

No branches or pull requests

3 participants