Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Wrong syntax highlight with multiline strings #109

@hugoboos

Description

@hugoboos

Prerequisites

Description

Following keys have wrong syntax highlight when the first item has a multiline string.

Steps to Reproduce

Screen Shot 2019-05-17 at 11 49 00

Edit by @rsese to add copy/paste code and a scopes image

list_1:
  - item_a: |
      line 1
      line 2
    item_b: value

list_2:
  - item_b: 
    item_a: |
      line 1
      line 2
    item_c: value

yaml-bug

Versions

Atom    : 1.36.1
Electron: 2.0.18
Chrome  : 61.0.3163.100
Node    : 8.9.3
apm  2.1.3
npm  6.2.0
node 8.9.3 x64
atom 1.36.1
python 2.7.10
git 2.21.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions