diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-08-15 15:55:15 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-08-15 15:55:15 +0900 |
commit | 5ed95c28ee5198e886608984ea299aca535e2b88 (patch) | |
tree | 624f3faaa74a1ad87f481b3865735b476a6b00bb /autoload/deoplete.vim | |
parent | cb7cef8c26a524bf1448221a624276037f09ae71 (diff) | |
download | deoplete.nvim-5ed95c28ee5198e886608984ea299aca535e2b88.zip |
Fix refresh error
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index cccecc6..4fe34d6 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -57,7 +57,7 @@ function! deoplete#cancel_popup() abort "{{{ endfunction"}}} function! deoplete#refresh() abort "{{{ let g:deoplete#_context.refresh = 1 - if g:deoplete#_context.event ==# 'Manual' + if get(g:deoplete#_context, 'event', '') ==# 'Manual' let g:deoplete#_context.event = 'Refresh' endif return pumvisible() ? "\<C-e>" : '' |