aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-09 09:25:43 +0800
committerGuangxiong Lin <[email protected]>2022-04-09 09:25:43 +0800
commit7f46db0ec4dfc6549faf9e9c957527a5433f81a8 (patch)
tree6863069a1b50b6b1c3c0863d3cc975ccd8070de8
parent64497e43cce4b24b2d8522844f5a0168ba0f14a3 (diff)
downloaddotfiles-7f46db0ec4dfc6549faf9e9c957527a5433f81a8.tar.gz
dotfiles-7f46db0ec4dfc6549faf9e9c957527a5433f81a8.tar.bz2
dotfiles-7f46db0ec4dfc6549faf9e9c957527a5433f81a8.zip
Add tags into complete chains (vim)
-rw-r--r--.vim/after/plugin/mucomplete.vim4
1 files changed, 3 insertions, 1 deletions
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 <s-tab> <plug>(MUcompleteBwd)