summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorasmka <asmka9@gmail.com>2022-05-02 10:46:49 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-02 10:46:49 +0100
commitf4f579b46b27f5e1689912a3e84c6a2a96efd143 (patch)
treec8979e834cb2976984ef93806ea711229c3a741c /runtime
parent2890c0b9d2416489d48bc47567378503997fef84 (diff)
downloadvim-git-f4f579b46b27f5e1689912a3e84c6a2a96efd143.tar.gz
patch 8.2.4857: Yaml indent for multiline is wrongv8.2.4857
Problem: Yaml indent for multiline is wrong. Solution: Adjust patterns. (closes #10328, closes #8740)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/indent/testdir/yaml.in6
-rw-r--r--runtime/indent/testdir/yaml.ok6
2 files changed, 12 insertions, 0 deletions
diff --git a/runtime/indent/testdir/yaml.in b/runtime/indent/testdir/yaml.in
index 8515e1752..32ddc6095 100644
--- a/runtime/indent/testdir/yaml.in
+++ b/runtime/indent/testdir/yaml.in
@@ -17,3 +17,9 @@ map: val
map: multiline
value
# END_INDENT
+
+# START_INDENT
+map: |
+line1
+line2
+# END_INDENT
diff --git a/runtime/indent/testdir/yaml.ok b/runtime/indent/testdir/yaml.ok
index 5ca2871fc..becdb1bae 100644
--- a/runtime/indent/testdir/yaml.ok
+++ b/runtime/indent/testdir/yaml.ok
@@ -17,3 +17,9 @@ map: val
map: multiline
value
# END_INDENT
+
+# START_INDENT
+map: |
+ line1
+ line2
+# END_INDENT