summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2020-11-17 19:08:17 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2020-11-17 19:08:37 +0900
commitddfc3eeb866c64e025a9f1e132b37b199a44973f (patch)
treee26f6f3345f1a199ff20f8840a0d9e5f7a949565
parent44a3e2393a99d5975ac7f282be10d008f4c70251 (diff)
downloaddeoplete.nvim-ddfc3eeb866c64e025a9f1e132b37b199a44973f.zip
Fix #1148 Disable non ascii indentkeys
-rw-r--r--autoload/deoplete/handler.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim
index 134385a..b1895f1 100644
--- a/autoload/deoplete/handler.vim
+++ b/autoload/deoplete/handler.vim
@@ -318,9 +318,7 @@ function! s:matched_indentkeys(input) abort
endif
for word in filter(map(split(&l:indentkeys, ','),
- \ "v:val =~# '^<.*>$' ? matchstr(v:val, '^<\\zs.*\\ze>$')
- \ : matchstr(v:val, 'e\\|=\\zs.*')"),
- \ "v:val !=# ''")
+ \ "matchstr(v:val, 'e\\|=\\zs.*')"), "v:val !=# ''")
if word ==# 'e'
let word = 'else'