summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2020-11-05 07:36:32 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2020-11-05 07:36:32 +0900
commit9aacded51b323f338859f01fcdca30a4acaf7dcc (patch)
treef273c46f09aa08b01866300f557f918c4b05ac19
parent1fe92ac56c4249b1ca66ff7c17dee2909c3cb3df (diff)
downloaddeoplete.nvim-9aacded51b323f338859f01fcdca30a4acaf7dcc.zip
Disable : auto indentation in deoplete
-rw-r--r--autoload/deoplete/handler.vim7
1 files changed, 1 insertions, 6 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim
index c9ce1e2..ef88ace 100644
--- a/autoload/deoplete/handler.vim
+++ b/autoload/deoplete/handler.vim
@@ -311,14 +311,9 @@ function! s:matched_indentkeys(input) abort
for word in filter(map(split(&l:indentkeys, ','),
\ "v:val =~# '^<.*>$' ? matchstr(v:val, '^<\\zs.*\\ze>$')
- \ : matchstr(v:val, ':\\|e\\|=\\zs.*')"),
+ \ : matchstr(v:val, 'e\\|=\\zs.*')"),
\ "v:val !=# ''")
- if word ==# ':' && &filetype ==# 'vim'
- " ':' completion must not be skipped
- continue
- endif
-
if word ==# 'e'
let word = 'else'
endif