autocmd: rename MenuPopupChanged to CompleteChanged #9819

This commit is contained in:
Qiming zhao
2019-03-31 08:15:41 +08:00
committed by Justin M. Keyes
parent c76494d8b7
commit 9e52255de2
5 changed files with 28 additions and 28 deletions

View File

@@ -1073,7 +1073,7 @@ describe('completion', function()
]])
end)
it('MenuPopupChanged autocommand', function()
it('CompleteChanged autocommand', function()
curbufmeths.set_lines(0, 1, false, { 'foo', 'bar', 'foobar', ''})
source([[
set complete=. completeopt=noinsert,noselect,menuone
@@ -1082,7 +1082,7 @@ describe('completion', function()
let g:item = get(v:event, 'completed_item', {})
let g:word = get(g:item, 'word', v:null)
endfunction
autocmd! MenuPopupChanged * :call OnPumChange()
autocmd! CompleteChanged * :call OnPumChange()
call cursor(4, 1)
]])