From 9aacded51b323f338859f01fcdca30a4acaf7dcc Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Thu, 5 Nov 2020 07:36:32 +0900 Subject: Disable : auto indentation in deoplete --- autoload/deoplete/handler.vim | 7 +------ 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3