init: New deoplete setting mechanism
authorStefan Huber <shuber@sthu.org>
Fri, 29 Jan 2021 22:45:38 +0000 (23:45 +0100)
committerStefan Huber <shuber@sthu.org>
Fri, 29 Jan 2021 22:45:38 +0000 (23:45 +0100)
init.vim

index eae73f731b8ce59f9d9c803ddc04b3ee151f3702..eb6662d6c35ac25941e0df19c7b3c445db3fba3d 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