From b3e1f252acf886498ecb367575f4bbea1aaf8c62 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 9 Apr 2022 14:40:45 +0800 Subject: Remove tags as complete source (vim) It is too noisy!! --- .vim/after/plugin/mucomplete.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.vim/after/plugin') 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 } -- cgit v1.2.3