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

YAML multiline code has invalid color highlighting #163

Open
dennisvankekem opened this issue Dec 2, 2022 · 0 comments
Open

YAML multiline code has invalid color highlighting #163

dennisvankekem opened this issue Dec 2, 2022 · 0 comments

Comments

@dennisvankekem
Copy link

When using a multiline block (either | or > ) in yaml the highlighting color will often be incorrect. This mainly happens when brackets are involved. Example:

controller:
  config:
    modsecurity-snippet: |
        correct: true
        also-correct: true
        {
            incorrect: true 
            {
                also-incorrect: true
            }
        }

The expected outcome is that everything underneath the | pipe is highlighted as orange as expected with multiline color highlighting, however the outcome seems to be:

image

Is there any chance that you could look into this issue?

Thanks in advance.

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

No branches or pull requests

1 participant