atom / language-yaml

YAML package for Atom
Other
24 stars 39 forks source link

entity.name.tag.yaml in block scalar #94

Closed mjbvz closed 7 years ago

mjbvz commented 7 years ago

Prerequisites

Description

For the yaml

Key1: |-
  a
  (?:
  a
  )
Key2: 1

Expected behavior: [What you expect to happen] The contents of key1 should be highlighted the same since they are part of the same block scalar

Actual behavior: [What actually happens]

screen shot 2017-09-18 at 11 00 35 am

The (?: is highlighted differently

Additional Information The scope of the ( in (?: is:

source.yaml
entity.name.tag.yaml
winstliu commented 7 years ago

Great news! I just fixed this in #93. It's currently scheduled to go out in Atom 1.22.0, though github.com may receive the changes earlier than that.