summaryrefslogtreecommitdiff
path: root/autoload/deoplete/handler.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2020-06-28 12:29:00 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2020-06-28 12:29:00 +0900
commite6aa6c99101a29e11626b0212ddf42172d7c6022 (patch)
tree88208af0e3b190e60ff9b0a8cf05d4faab36d55c /autoload/deoplete/handler.vim
parentfb4a0436437999d245c5f747621352307ab073a0 (diff)
downloaddeoplete.nvim-e6aa6c99101a29e11626b0212ddf42172d7c6022.zip
Fix #1110 ignore <bd> binary data
Diffstat (limited to 'autoload/deoplete/handler.vim')
-rw-r--r--autoload/deoplete/handler.vim4
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')