diff options
| author | Jurica Bradaric <jbradaric@gmail.com> | 2017-07-25 18:30:28 +0200 |
|---|---|---|
| committer | Jurica Bradaric <jbradaric@gmail.com> | 2017-07-25 18:41:14 +0200 |
| commit | 811c45163c5613981c8e5abdca40e28c1b61d076 (patch) | |
| tree | c6d5dc0ab668e1c07b1fc12e771c702a2ae81987 /src/nvim/testdir | |
| parent | 5a0acd09c106fb3cee4243aa366ee1eff04776fd (diff) | |
| download | rneovim-811c45163c5613981c8e5abdca40e28c1b61d076.tar.gz rneovim-811c45163c5613981c8e5abdca40e28c1b61d076.tar.bz2 rneovim-811c45163c5613981c8e5abdca40e28c1b61d076.zip | |
vim-patch:8.0.0034
Problem: No completion for ":messages".
Solution: Complete "clear" argument. (Hirohito Higashi)
https://github.com/vim/vim/commit/9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8
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 0c9d1297d6..f7a6aba6e7 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -130,6 +130,11 @@ func Test_getcompletion() let l = getcompletion('dark', 'highlight') call assert_equal([], l) + let l = getcompletion('', 'messages') + call assert_true(index(l, 'clear') >= 0) + let l = getcompletion('not', 'messages') + call assert_equal([], l) + if has('cscope') let l = getcompletion('', 'cscope') let cmds = ['add', 'find', 'help', 'kill', 'reset', 'show'] |