diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2020-04-26 07:51:39 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2020-04-26 07:51:39 +0900 |
commit | c344aa70af9eefb8a1103e62d43f3201d5a8f537 (patch) | |
tree | 28b65aa28c72be57c0d792c47b37b1b98b45887e /autoload/deoplete/handler.vim | |
parent | bbec852adee45a1500fa817a3c17889dc328cad0 (diff) | |
download | deoplete.nvim-c344aa70af9eefb8a1103e62d43f3201d5a8f537.zip |
Fix #1095 skip text problem
Diffstat (limited to 'autoload/deoplete/handler.vim')
-rw-r--r-- | autoload/deoplete/handler.vim | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim index 49a8cd2..b86425a 100644 --- a/autoload/deoplete/handler.vim +++ b/autoload/deoplete/handler.vim @@ -246,21 +246,6 @@ function! s:is_skip_text(event) abort return 1 endif - " Note: Use g:deoplete#_context is needed instead of - " g:deoplete#_prev_completion - let prev_input = get(g:deoplete#_context, 'input', '') - if input ==# prev_input - \ && input !=# '' - \ && a:event !=# 'Manual' - \ && a:event !=# 'Async' - \ && a:event !=# 'Update' - \ && a:event !=# 'TextChangedP' - return 1 - endif - if a:event ==# 'Update' && prev_input !=# '' && input !=# prev_input - return 1 - endif - let displaywidth = strdisplaywidth(input) + 1 let is_virtual = virtcol('.') >= displaywidth if &l:formatoptions =~# '[tca]' && &l:textwidth > 0 |