51 lines
889 B
Text
51 lines
889 B
Text
# This is not a valid NestedText file, but the first part of it should be
|
|
# rendered as valid by Vim, as Vim is only looking at one line at a time, and
|
|
# each line could be found in a valid NestedText file.
|
|
|
|
this:is:the:key: this is a string
|
|
-this:is:the:key:
|
|
> this is a string
|
|
>this:is:the:key:
|
|
> this is string
|
|
|
|
- this is a list item
|
|
> this is a string
|
|
: Lorem ipsum dolor sit amet
|
|
:
|
|
: consectetur adipiscing elit
|
|
|
|
sed do eiusmod tempor: incididunt ut labore et dolore
|
|
:magna aliqua:
|
|
> this is string
|
|
|
|
- this is a list item
|
|
# this is a comment
|
|
|
|
{}
|
|
{k: v}
|
|
{k1: v1}
|
|
{k: v, k:v}
|
|
{k1:v1, k2:[v2a,v2b]}
|
|
[]
|
|
[ ]
|
|
[v]
|
|
[v1,v2]
|
|
[v1,{k2:v2}]
|
|
[v,]
|
|
[,]
|
|
-k:
|
|
- k:
|
|
|
|
# Errors
|
|
# commented out because pytest is configured to fail the test if there is an
|
|
# error.
|
|
# {k:v} fsjlfu
|
|
# {k:v fsjlfu
|
|
# {k:
|
|
# [v]: this is a string
|
|
# [v
|
|
# [v,
|
|
# {k:v k:[v,v]}
|
|
|
|
# Mishandled
|
|
{k:v,}
|