diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2020-01-30 07:39:32 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2020-01-30 07:39:32 +0900 |
commit | 9458f86d7a9f39323da2caa609c7dddddb65b30a (patch) | |
tree | 1b0247a2847f58fd631a069d2570043d1851fa9b /autoload/deoplete | |
parent | 4121320109172e3212c6c590f5ce1dc9dd756511 (diff) | |
download | deoplete.nvim-9458f86d7a9f39323da2caa609c7dddddb65b30a.zip |
Fix scriptencoding error in Vim8
Diffstat (limited to 'autoload/deoplete')
-rw-r--r-- | autoload/deoplete/mapping.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/deoplete/mapping.vim b/autoload/deoplete/mapping.vim index da028db..c9f28d5 100644 --- a/autoload/deoplete/mapping.vim +++ b/autoload/deoplete/mapping.vim @@ -4,6 +4,8 @@ " License: MIT license "============================================================================= +scriptencoding utf-8 + function! deoplete#mapping#_init() abort " Note: The dummy function is needed for cpoptions bug in neovim inoremap <expr><silent> <Plug>_ @@ -27,8 +29,6 @@ function! s:check_completion_info(candidates) abort return 1 endif - scriptencoding utf-8 - let input = getline('.')[: g:deoplete#_context.complete_position - 1] if deoplete#util#check_eskk_phase_henkan() \ && matchstr(input, '.$') =~# '[あ-ん]$' |