Open mtkennerly opened 1 year ago
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
# Baseline ```yaml # foo ``` # Indented ```yaml # foo ``` # Bullet point * ```yaml # foo ```
Notice that the comment in the bullet point is not highlighted like the others:
@alexr00 I believe the root cause is that the yaml grammar uses ^ for most of it's rules. To handle cases where it is embedded, we should use (^|\G) instead
^
(^|\G)
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Notice that the comment in the bullet point is not highlighted like the others: