diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2020-05-29 17:03:22 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2020-05-29 17:03:22 +0900 |
commit | 9ee5a4ae58ab10590703e814aeab6f81441ee4b5 (patch) | |
tree | 75cb00177035442b9502e9d69d889a5c1bf061df /autoload/deoplete.vim | |
parent | 3c57b8405d595ad0bc7bfa46f757cce0e8258fbb (diff) | |
download | deoplete.nvim-9ee5a4ae58ab10590703e814aeab6f81441ee4b5.zip |
Add InsertLeave support in buffer source
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index 0c39631..7da471a 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -41,6 +41,10 @@ function! deoplete#enable_logging(level, logfile) abort endfunction function! deoplete#send_event(event, ...) abort + if &l:previewwindow + return + endif + let sources = deoplete#util#convert2list(get(a:000, 0, [])) call deoplete#util#rpcnotify('deoplete_on_event', \ {'event': a:event, 'sources': sources}) |