app-editors/vim-core: enable omni completion before sourcing of /etc/vimrc.local.

Package-Manager: Portage-2.3.8, Repoman-2.3.3
This commit is contained in:
Patrice Clement
2017-10-22 16:31:13 +02:00
parent cc69009cc7
commit e24b5f0d42
+6 -6
View File
@@ -193,12 +193,6 @@ endif " has("autocmd")
" instead:
let g:skip_defaults_vim = 1
" {{{ vimrc.local
if filereadable("@GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local")
source @GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local
endif
" }}}
" Enable Omni completion when opening a file only if a specific plugin does
" not already exist for that filetype. This allows Omni completion
" (Ctrl-x/Ctrl-o) to work with any programming language if and only if a syntax
@@ -210,5 +204,11 @@ if exists("+omnifunc")
\ endif
endif
" {{{ vimrc.local
if filereadable("@GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local")
source @GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local
endif
" }}}
" vim: set fenc=utf-8 tw=80 sw=2 sts=2 et foldmethod=marker :