diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-09-01 20:25:34 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-09-01 20:28:23 +0800 |
| commit | 56bf026deac8eddb1abc8e1d46fde992cfc67ac2 (patch) | |
| tree | 032c507086ecf662d70faaaead827bc274561d80 /src/nvim/testdir/test_usercommands.vim | |
| parent | c65b1f3e15662cd14c443e34862237d3dee30977 (diff) | |
| download | rneovim-56bf026deac8eddb1abc8e1d46fde992cfc67ac2.tar.gz rneovim-56bf026deac8eddb1abc8e1d46fde992cfc67ac2.tar.bz2 rneovim-56bf026deac8eddb1abc8e1d46fde992cfc67ac2.zip | |
vim-patch:9.0.0346: :horizontal modifier not fully supported
Problem: :horizontal modifier not fully supported.
Solution: Also use :horizontal for completion and user commands.
(closes vim/vim#11025)
https://github.com/vim/vim/commit/d3de178e5352fedf0f30b979f46a2fcbca24ea40
Diffstat (limited to 'src/nvim/testdir/test_usercommands.vim')
| -rw-r--r-- | src/nvim/testdir/test_usercommands.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_usercommands.vim b/src/nvim/testdir/test_usercommands.vim index e37fe43b22..1065dd16e2 100644 --- a/src/nvim/testdir/test_usercommands.vim +++ b/src/nvim/testdir/test_usercommands.vim @@ -101,6 +101,10 @@ function Test_cmdmods() call assert_equal('vertical', g:mods) vert MyCmd call assert_equal('vertical', g:mods) + horizontal MyCmd + call assert_equal('horizontal', g:mods) + hor MyCmd + call assert_equal('horizontal', g:mods) aboveleft belowright botright browse confirm hide keepalt keepjumps \ keepmarks keeppatterns lockmarks noautocmd noswapfile silent |