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 | |
parent | 2890c0b9d2416489d48bc47567378503997fef84 (diff) | |
download | vim-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.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 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 |