atom / language-yaml

YAML package for Atom
Other
24 stars 39 forks source link

Quotes Inside Unquoted Keys #83

Closed deckar01 closed 7 years ago

deckar01 commented 7 years ago

Prerequisites

Description

Quotes in the middle of unquoted keys breaks syntax highlighting.

Steps to Reproduce

  1. Add an unquoted key containing a quote chracter in the middle
    • Example: General Tso's Chicken:
    • Example: Dwayne "The Rock" Johnson:

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.

deckar01 commented 7 years ago

Specs: https://github.com/deckar01/language-yaml/pull/1/commits/c552a5517581e60031fcf61c236b9d7901582228