From 7f46db0ec4dfc6549faf9e9c957527a5433f81a8 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 9 Apr 2022 09:25:43 +0800 Subject: Add tags into complete chains (vim) --- .vim/after/plugin/mucomplete.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vim/after/plugin/mucomplete.vim b/.vim/after/plugin/mucomplete.vim index 788ddf6..5287c25 100644 --- a/.vim/after/plugin/mucomplete.vim +++ b/.vim/after/plugin/mucomplete.vim @@ -6,8 +6,10 @@ let g:mucomplete#no_mappings = 1 let g:mucomplete#can_complete = {} let s:default_cond = { t -> 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 g:mucomplete#chains.default = + \ [ 'ulti', 'user', 'omni', 'tags', 'keyn', 'path' ] imap (MUcompleteBwd) -- cgit v1.2.3