summaryrefslogtreecommitdiffstats
path: root/test/fixtures/formatting-before/fmt-3.yml
blob: c862cc499333ed1134a34f91c1d06b75e33f7137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
dummy_map:       # eol comment
# full line comment not indented
  something:
    # full line comment indented
  # next full line comment indented
    - or
            # 1 full line comments over indented
            # 2 full line comments over indented
    - other
    - |
      # this is part of a string not a yaml comment
      # also not a comment

# comment before top-level
second_key:
  - { } # should drop the extra space in flow map
# comment before non top-level
  - {}
# comment before non top-level
  - []