Skip to content

Comments inline with a yamlString region start break highlighting #24

@nkakouros

Description

@nkakouros

Example:

list:
  - >- # comment
    text

text will not be highlighted as a string.

I tried modifying the start regex for the three yamlString regions to allow for inline comments like above. This fixes the highlighting of text but the inline comment is not highlighted as such; comment will get highlighted as the text` string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions