init: fastfold for small files
[vimconf.git] / init.vim
index eae73f731b8ce59f9d9c803ddc04b3ee151f3702..2901f3c5047624382fc5ff1aa6a183d72b0f881a 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -120,7 +120,10 @@ let g:clang_compilation_database = '.'
 let g:python3_host_prog = '/usr/bin/python3'
 " deoplete requires huge startuptime. Delay loading upon first InsertEnter.
 let g:deoplete#enable_at_startup = 0
-let g:deoplete#enable_smart_case = 1
+call deoplete#custom#option({
+                            \ 'smart_case' : v:true,
+                            \ 'auto_refresh_delay' : 100,
+                            \ })
 au InsertEnter * call deoplete#enable()
 
 "augroup pencil
@@ -178,6 +181,8 @@ augroup END
 
 let g:localvimrc_persistent = 1
 
+let g:fastfold_minlines = 0
+
 au FileType markdown call RagtagInit()
 
 let g:detectspelllang_langs = {}