mirror of
https://github.com/neovim/neovim.git
synced 2025-12-04 21:52:41 +00:00
autocmd: rename MenuPopupChanged to CompleteChanged #9819
This commit is contained in:
committed by
Justin M. Keyes
parent
c76494d8b7
commit
9e52255de2
@@ -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)
|
||||
]])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user