aboutsummaryrefslogtreecommitdiff
path: root/.vim/after
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-09-05 22:44:41 +0800
committerGuangxiong Lin <[email protected]>2023-09-05 22:44:41 +0800
commit224311af0e2f9239984537a6a06b66240f2b2621 (patch)
tree1829b99f1b733bcddb98418feb699104a21b33c4 /.vim/after
parent6a8ffe5a7be1b0601faffb8cd86a71e3367f18b6 (diff)
downloaddotfiles-224311af0e2f9239984537a6a06b66240f2b2621.tar.gz
dotfiles-224311af0e2f9239984537a6a06b66240f2b2621.tar.bz2
dotfiles-224311af0e2f9239984537a6a06b66240f2b2621.zip
Update config
Diffstat (limited to '.vim/after')
-rw-r--r--.vim/after/plugin/mucomplete.vim7
1 files changed, 1 insertions, 6 deletions
diff --git a/.vim/after/plugin/mucomplete.vim b/.vim/after/plugin/mucomplete.vim
index 81751ba..e126e31 100644
--- a/.vim/after/plugin/mucomplete.vim
+++ b/.vim/after/plugin/mucomplete.vim
@@ -1,7 +1,3 @@
-if has('nvim')
- finish
-endif
-
let g:mucomplete#enable_auto_at_startup = 1
let g:mucomplete#minimum_prefix_length = 1
let g:mucomplete#empty_text_auto = 1
@@ -11,10 +7,9 @@ let g:mucomplete#can_complete = {}
let s:default_cond = { t -> strlen(&omnifunc) > 0 && t =~# '\%(\.\)$' }
let g:mucomplete#can_complete.default = { 'omni': s:default_cond }
let g:mucomplete#chains = {}
-let g:mucomplete#chains.default =
+let g:mucomplete#chains.default =
\ [ 'ulti', 'user', 'omni', 'keyn', 'path' ]
-
let s:c_cond = { t -> strlen(&omnifunc) > 0 && t =~# '\%(\.\|->\)$' }
let g:mucomplete#can_complete.c = { 'omni': s:c_cond }
let g:mucomplete#can_complete.objc = { 'omni': s:c_cond }