diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-13 21:16:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-13 21:16:21 +0200 |
commit | 7a1637f4c00ac3d0cbf894803ada1586a1717470 (patch) | |
tree | 34aca94057f424f8fbe5a437c66b23f2fd189647 /src/testdir/test_options.vim | |
parent | 067297e16a516838dbc46aaa9d8b1a507afec28d (diff) | |
download | vim-git-7a1637f4c00ac3d0cbf894803ada1586a1717470.tar.gz |
patch 8.2.0577: not all modifiers supported for :optionsv8.2.0577
Problem: Not all modifiers supported for :options.
Solution: Use all cmdmod.split flags. (closes #4401)
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r-- | src/testdir/test_options.vim | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index f9a424ff1..e03d7e99c 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -87,6 +87,19 @@ func Test_options_command() " close option-window close + " Open the option-window at the top. + set splitbelow + topleft options + call assert_equal(1, winnr()) + close + + " Open the option-window at the bottom. + set nosplitbelow + botright options + call assert_equal(winnr('$'), winnr()) + close + set splitbelow& + " Open the option-window in a new tab. tab options " Check if the option-window is opened in a tab. @@ -94,7 +107,6 @@ func Test_options_command() call assert_notequal('option-window', bufname('')) normal gt call assert_equal('option-window', bufname('')) - " close option-window close |