diff options
-rw-r--r-- | .vim/after/plugin/mucomplete.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.vim/after/plugin/mucomplete.vim b/.vim/after/plugin/mucomplete.vim index 3a93af5..2e5892e 100644 --- a/.vim/after/plugin/mucomplete.vim +++ b/.vim/after/plugin/mucomplete.vim @@ -6,6 +6,10 @@ let g:mucomplete#no_mappings = 1 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 = + \ [ 'ulti', 'user', 'omni', 'keyn', 'path' ] + let s:c_cond = { t -> strlen(&omnifunc) > 0 && t =~# '\%(\.\|->\)$' } let g:mucomplete#can_complete.c = { 'omni': s:c_cond } |