summaryrefslogtreecommitdiffstats
path: root/runtime/indent/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-16 13:11:12 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-16 13:11:12 +0100
commit3c053a1a5ad2a3c924929e11f2b9af20a8b901e2 (patch)
tree75889d295e175ede0f7a1812c8b4462172e3be86 /runtime/indent/testdir
parentbd053f894b0d7652928201faa68c53d1ce2acdc5 (diff)
Update runtime files
Diffstat (limited to 'runtime/indent/testdir')
-rw-r--r--runtime/indent/testdir/vim.in18
-rw-r--r--runtime/indent/testdir/vim.ok20
2 files changed, 37 insertions, 1 deletions
diff --git a/runtime/indent/testdir/vim.in b/runtime/indent/testdir/vim.in
index 87c044a9bd..55acf6fde1 100644
--- a/runtime/indent/testdir/vim.in
+++ b/runtime/indent/testdir/vim.in
@@ -869,3 +869,21 @@ echo
})
enddef
" END_INDENT
+
+" START_INDENT
+echo {
+k: () => {
+if true
+echo
+popup_setoptions(id,
+{title: 'title'})
+endif
+}
+}
+" END_INDENT
+
+" START_INDENT
+if true
+elseif
+endif
+" END_INDENT
diff --git a/runtime/indent/testdir/vim.ok b/runtime/indent/testdir/vim.ok
index 2326934f96..c6ba084305 100644
--- a/runtime/indent/testdir/vim.ok
+++ b/runtime/indent/testdir/vim.ok
@@ -849,7 +849,7 @@ endfor
echo []
+ []
+ [{a: 1,
- b: 2}]
+ b: 2}]
}
" END_INDENT
@@ -869,3 +869,21 @@ def Foo()
})
enddef
" END_INDENT
+
+" START_INDENT
+echo {
+ k: () => {
+ if true
+ echo
+ popup_setoptions(id,
+ {title: 'title'})
+ endif
+ }
+}
+" END_INDENT
+
+" START_INDENT
+if true
+elseif
+endif
+" END_INDENT