Skip to content

Should invalidate inline block-sequence on block-map #603

@RedCMD

Description

@RedCMD

Describe the bug
s-l-comments requires a newline to exist before rule-seq-space when inside a rule-s-l+block-collection

To Reproduce

abc: - foo: bar

Expected behaviour
For the inline block-sequence - to be marked as invalid

Versions

  • Environment: VSCode 1.97.0
  • yaml: 2.7.0
  • extension: v1.16.0

Additional context
Image


(except when inside a explicit block-map)

? - Detroit Tigers
  - Chicago cubs
: - 2001-07-23

Image

Github definitely gets it wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions