summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2018-12-26 21:25:55 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2018-12-26 21:25:55 +0900
commit82a15cc5de88b520ee924ed503c1e9166bb6ecc4 (patch)
tree304942fd798ab47baf1546ea9ffa9c31f7487dd8 /autoload
parent227d6198df35609483461272ac36639c7b45d882 (diff)
downloaddeoplete.nvim-82a15cc5de88b520ee924ed503c1e9166bb6ecc4.zip
Fix skip_multibyte
Diffstat (limited to 'autoload')
-rw-r--r--autoload/deoplete/handler.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim
index a5ac0a8..c360da4 100644
--- a/autoload/deoplete/handler.vim
+++ b/autoload/deoplete/handler.vim
@@ -204,6 +204,7 @@ function! s:is_skip_text(event) abort
let lastchar = matchstr(input, '.$')
let skip_multibyte = deoplete#custom#_get_option('skip_multibyte')
if skip_multibyte && len(lastchar) != strwidth(lastchar)
+ \ && empty(get(b:, 'eskk', []))
return 1
endif