patch 8.2.0128: cannot list options one per line
Problem: Cannot list options one per line.
Solution: Use ":set!" to list one option per line.
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim
index 636a24d..7a74af6 100644
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -44,7 +44,7 @@
set wildchar&
endfunc
-func Test_options()
+func Test_options_command()
let caught = 'ok'
try
options
@@ -388,6 +388,13 @@
set tw& iskeyword& splitbelow&
endfunc
+func Test_set_one_column()
+ let out_mult = execute('set all')->split("\n")
+ let out_one = execute('set! all')->split("\n")
+ " one column should be two to four times as many lines
+ call assert_inrange(len(out_mult) * 2, len(out_mult) * 4, len(out_one))
+endfunc
+
func Test_set_values()
if filereadable('opt_test.vim')
source opt_test.vim