summaryrefslogtreecommitdiff
path: root/mnv/runtime/indent/testdir/yaml.in
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/indent/testdir/yaml.in')
-rw-r--r--mnv/runtime/indent/testdir/yaml.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/mnv/runtime/indent/testdir/yaml.in b/mnv/runtime/indent/testdir/yaml.in
new file mode 100644
index 0000000000..08b5588443
--- /dev/null
+++ b/mnv/runtime/indent/testdir/yaml.in
@@ -0,0 +1,39 @@
+# mnv: set ft=yaml sw=2 et :
+
+# START_INDENT
+map1:
+sub1:
+- list item
+map2:
+- another list
+# END_INDENT
+
+# START_INDENT
+map: &anchor
+map: val
+# END_INDENT
+
+# START_INDENT
+map: |
+line1
+line2
+# END_INDENT
+
+# START_INDENT
+list:
+ - element1:
+ foo: bar
+ - element2:
+ foo: bar
+# END_INDENT
+
+# START_INDENT
+- name: test playbook
+ hosts: localhost
+ gather_facts: false
+
+ tasks:
+ - name: hello world
+ ansible.builtin.debug:
+ msg: "hello world"
+# END_INDENT