summaryrefslogtreecommitdiff
path: root/autoload/deoplete/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/deoplete/init.vim')
-rw-r--r--autoload/deoplete/init.vim7
1 files changed, 2 insertions, 5 deletions
diff --git a/autoload/deoplete/init.vim b/autoload/deoplete/init.vim
index 9aaf5a9..801e1f4 100644
--- a/autoload/deoplete/init.vim
+++ b/autoload/deoplete/init.vim
@@ -89,6 +89,8 @@ function! deoplete#init#_variables() abort "{{{
call deoplete#util#set_default(
\ 'g:deoplete#enable_at_startup', 0)
call deoplete#util#set_default(
+ \ 'g:deoplete#auto_complete_start_length', 2)
+ call deoplete#util#set_default(
\ 'g:deoplete#enable_ignore_case', &ignorecase)
call deoplete#util#set_default(
\ 'g:deoplete#enable_smart_case', &smartcase)
@@ -186,11 +188,6 @@ function! deoplete#init#_variables() abort "{{{
\ g:deoplete#member#_prefix_patterns,
\ 'lua', ['\.', ':'])
"}}}
-
- if exists('g:deoplete#auto_complete_start_length')
- call deoplete#custom#set('_', 'min_pattern_length',
- \ g:deoplete#auto_complete_start_length)
- endif
endfunction"}}}
function! deoplete#init#_context(event, sources) abort "{{{