diff options
author | Guangxiong Lin <[email protected]> | 2023-09-06 23:28:10 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-09-06 23:28:10 +0800 |
commit | 7f953885f8c56e9dc4cb8a3701f89f200ff8dfb4 (patch) | |
tree | 3bfd98f7944563a70dc42bc52df6cf2916658440 /.vim/after | |
parent | 224311af0e2f9239984537a6a06b66240f2b2621 (diff) | |
download | dotfiles-7f953885f8c56e9dc4cb8a3701f89f200ff8dfb4.tar.gz dotfiles-7f953885f8c56e9dc4cb8a3701f89f200ff8dfb4.tar.bz2 dotfiles-7f953885f8c56e9dc4cb8a3701f89f200ff8dfb4.zip |
Avoid scanning tags when completing
Diffstat (limited to '.vim/after')
-rw-r--r-- | .vim/after/plugin/mucomplete.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.vim/after/plugin/mucomplete.vim b/.vim/after/plugin/mucomplete.vim index e126e31..2f5b30a 100644 --- a/.vim/after/plugin/mucomplete.vim +++ b/.vim/after/plugin/mucomplete.vim @@ -8,7 +8,7 @@ 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' ] + \ [ 'ulti', 'user', 'omni', 'c-p', 'path' ] let s:c_cond = { t -> strlen(&omnifunc) > 0 && t =~# '\%(\.\|->\)$' } let g:mucomplete#can_complete.c = { 'omni': s:c_cond } |