diff options
author | asmka <asmka9@gmail.com> | 2022-05-02 10:46:49 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-02 10:46:49 +0100 |
commit | f4f579b46b27f5e1689912a3e84c6a2a96efd143 (patch) | |
tree | c8979e834cb2976984ef93806ea711229c3a741c /runtime/indent | |
parent | 2890c0b9d2416489d48bc47567378503997fef84 (diff) |
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/indent')
-rw-r--r-- | runtime/indent/testdir/yaml.in | 6 | ||||
-rw-r--r-- | runtime/indent/testdir/yaml.ok | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/runtime/indent/testdir/yaml.in b/runtime/indent/testdir/yaml.in index 8515e1752c..32ddc60956 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 5ca2871fc9..becdb1bae1 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 |