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

some JINJA wrongly highlighted #15

Open
stratusjerry opened this issue Mar 29, 2022 · 0 comments
Open

some JINJA wrongly highlighted #15

stratusjerry opened this issue Mar 29, 2022 · 0 comments

Comments

@stratusjerry
Copy link

Thanks for the great extension! I noticed a couple instances where the JINJA highlighting is wrong:

  1. Commented JINJA after YAML value is not properly highlighted as comments
    {% set Stuff = "/tmp/baz.json" %}
    example:
      file.managed:
        - name: /tmp/foo.json {# {{ Stuff }} #}
  2. JINJA text highlighting for this case should NOT be commented, as JINJA will render and replace the YAML '#'
    # {% set Stuff = "/tmp/baz.json" %}
    example:
      file.managed:
        - name: {{ Stuff }}
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