1
0
forked from aniani/vim

patch 8.0.0034

Problem:    No completion for ":messages".
Solution:   Complete "clear" argument. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2016-10-15 15:39:39 +02:00
parent a6c27ee6db
commit 9e507ca8a3
8 changed files with 31 additions and 0 deletions

View File

@@ -129,6 +129,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']