summaryrefslogtreecommitdiffstats
path: root/runtime/indent/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-13 18:14:48 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-13 18:14:48 +0100
commit942db23c9cb7532d68048530d749eb84ca94d0cd (patch)
tree13d89605923a2ccc490b83ae155e5791a92062a1 /runtime/indent/testdir
parent0fa09676c25a0a4a01f339887b8bf40b4673621f (diff)
Update runtime files
Diffstat (limited to 'runtime/indent/testdir')
-rw-r--r--runtime/indent/testdir/html.ok2
-rw-r--r--runtime/indent/testdir/vim.in15
-rw-r--r--runtime/indent/testdir/vim.ok15
3 files changed, 31 insertions, 1 deletions
diff --git a/runtime/indent/testdir/html.ok b/runtime/indent/testdir/html.ok
index ba2fd3fc7d..c0dfc9dc72 100644
--- a/runtime/indent/testdir/html.ok
+++ b/runtime/indent/testdir/html.ok
@@ -19,7 +19,7 @@ div#d2 { color: green; }
</div>
<div
- class="foo bar">
+ class="foo bar">
text
</div>
diff --git a/runtime/indent/testdir/vim.in b/runtime/indent/testdir/vim.in
index f652dbda79..699e4c243d 100644
--- a/runtime/indent/testdir/vim.in
+++ b/runtime/indent/testdir/vim.in
@@ -15,6 +15,21 @@ let x = [
\ ]
endif
+" TODO: add searchpair() to find matching {
+"for x in [
+"{
+"key: 'value'
+"},
+"]
+"eval 0
+"endfor
+
+for x in [
+{key: 'value'},
+]
+eval 0
+endfor
+
" END_INDENT
" START_INDENT
diff --git a/runtime/indent/testdir/vim.ok b/runtime/indent/testdir/vim.ok
index b8592c18eb..f597d97e80 100644
--- a/runtime/indent/testdir/vim.ok
+++ b/runtime/indent/testdir/vim.ok
@@ -15,6 +15,21 @@ if 1
\ ]
endif
+" TODO: add searchpair() to find matching {
+"for x in [
+"{
+"key: 'value'
+"},
+"]
+"eval 0
+"endfor
+
+for x in [
+ {key: 'value'},
+ ]
+ eval 0
+endfor
+
" END_INDENT
" START_INDENT