diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2020-06-28 12:29:00 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2020-06-28 12:29:00 +0900 |
commit | e6aa6c99101a29e11626b0212ddf42172d7c6022 (patch) | |
tree | 88208af0e3b190e60ff9b0a8cf05d4faab36d55c /autoload/deoplete/handler.vim | |
parent | fb4a0436437999d245c5f747621352307ab073a0 (diff) | |
download | deoplete.nvim-e6aa6c99101a29e11626b0212ddf42172d7c6022.zip |
Fix #1110 ignore <bd> binary data
Diffstat (limited to 'autoload/deoplete/handler.vim')
-rw-r--r-- | autoload/deoplete/handler.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim index fd35388..99a0c8e 100644 --- a/autoload/deoplete/handler.vim +++ b/autoload/deoplete/handler.vim @@ -258,6 +258,10 @@ function! s:is_skip_prev_text(event) abort endfunction function! s:is_skip_text(event) abort let input = deoplete#util#get_input(a:event) + if !has('nvim') && input =~# "\xbd" + " In Vim8, <bd> brokes nvim-yarp. + return 1 + endif let lastchar = matchstr(input, '.$') let skip_multibyte = deoplete#custom#_get_option('skip_multibyte') |