diff options
| author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-16 10:24:49 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-16 10:42:13 -0400 |
| commit | 6531b175addc33c710b6e4e3501077e1d7213a8c (patch) | |
| tree | 303675036347de439a28ca016156309e5ec51f15 /src/nvim/testdir | |
| parent | b5cfac089409faf17a290d4bfe1b669212e2984e (diff) | |
| download | rneovim-6531b175addc33c710b6e4e3501077e1d7213a8c.tar.gz rneovim-6531b175addc33c710b6e4e3501077e1d7213a8c.tar.bz2 rneovim-6531b175addc33c710b6e4e3501077e1d7213a8c.zip | |
vim-patch:8.0.0878: no completion for :mapclear
Problem: No completion for :mapclear.
Solution: Add completion (Nobuhiro Takasaki et al. closes vim/vim#1943)
https://github.com/vim/vim/commit/cae92dc3d5bdd4009910671328cd01394bfbe2cf
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 5a43838218..a93beac4ad 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -222,6 +222,11 @@ func Test_getcompletion() let l = getcompletion('not', 'messages') call assert_equal([], l) + let l = getcompletion('', 'mapclear') + call assert_true(index(l, '<buffer>') >= 0) + let l = getcompletion('not', 'mapclear') + call assert_equal([], l) + if has('cscope') let l = getcompletion('', 'cscope') let cmds = ['add', 'find', 'help', 'kill', 'reset', 'show'] |