atom / language-yaml

YAML package for Atom
Other
24 stars 39 forks source link

Spaces in Unquoted Block Keys #86

Closed deckar01 closed 7 years ago

deckar01 commented 7 years ago

Prerequisites

Description

Spaces in the middle of unquoted block keys breaks syntax highlighting.

Steps to Reproduce

  1. Add an unquoted key for a block containing a space in the middle
    • Example: Space Ghost: >
    • Example: Ghost in the Shell: |

Expected behavior: The key should become red like a key.

Actual behavior: The key remains green like a value.

Reproduces how often: Consistent (100%)

Versions

Additional Information

The CSS classes should be syntax--entity syntax--name syntax--tag, but are syntax--string syntax--unquoted.