atom / language-yaml

YAML package for Atom
Other
24 stars 39 forks source link

Inline objects and arrays are highlighted as strings #115

Closed Nixinova closed 3 years ago

Nixinova commented 3 years ago

Removing most of the checklist as I'm not using atom, I'm using the grammar file directly.

Description

The syntax grammar does not apply unique highlighting to inline objects and arrays:

---
Key:
  string: some text
  object: { key: value, string: false }
  array: [ string, 10, null ]

This syntax is valid and should be shown as such.

Nixinova commented 3 years ago

Closing as duplicate of #5.