This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/nt/test2.nt
2023-06-26 21:14:26 +02:00

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,}