diff options
author | Guangxiong Lin <[email protected]> | 2022-04-09 14:40:45 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-09 14:40:45 +0800 |
commit | b3e1f252acf886498ecb367575f4bbea1aaf8c62 (patch) | |
tree | aa79a9c69e7578b9a6fc156bd9ddf304c7533b2e | |
parent | 04bfc884294e090f4f5dae552b7d3429610a8f07 (diff) | |
download | dotfiles-b3e1f252acf886498ecb367575f4bbea1aaf8c62.tar.gz dotfiles-b3e1f252acf886498ecb367575f4bbea1aaf8c62.tar.bz2 dotfiles-b3e1f252acf886498ecb367575f4bbea1aaf8c62.zip |
Remove tags as complete source (vim)
It is too noisy!!
-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 } |