Mercurial > vim
annotate runtime/indent/testdir/yaml.in @ 30769:ae10b91ac6b3 v9.0.0719
patch 9.0.0719: too many delete() calls in tests
Commit: https://github.com/vim/vim/commit/56564964e6d0956c29687e8a10cb94fe42f5c097
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 10 22:39:42 2022 +0100
patch 9.0.0719: too many delete() calls in tests
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 10 Oct 2022 23:45:04 +0200 |
parents | b96ceb97e896 |
children |
rev | line source |
---|---|
18343 | 1 # vim: set ft=yaml sw=2 et : |
2 | |
3 # START_INDENT | |
4 map1: | |
5 sub1: | |
6 - list item | |
7 map2: | |
8 - another list | |
9 # END_INDENT | |
10 | |
11 # START_INDENT | |
12 map: &anchor | |
13 map: val | |
14 # END_INDENT | |
20753 | 15 |
16 # START_INDENT | |
28666
91faff07670a
patch 8.2.4857: Yaml indent for multiline is wrong
Bram Moolenaar <Bram@vim.org>
parents:
20753
diff
changeset
|
17 map: | |
91faff07670a
patch 8.2.4857: Yaml indent for multiline is wrong
Bram Moolenaar <Bram@vim.org>
parents:
20753
diff
changeset
|
18 line1 |
91faff07670a
patch 8.2.4857: Yaml indent for multiline is wrong
Bram Moolenaar <Bram@vim.org>
parents:
20753
diff
changeset
|
19 line2 |
91faff07670a
patch 8.2.4857: Yaml indent for multiline is wrong
Bram Moolenaar <Bram@vim.org>
parents:
20753
diff
changeset
|
20 # END_INDENT |