summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-10-22 16:31:13 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-10-22 16:31:13 +0200
commite24b5f0d42be2a081237c6f1362f2672ebffaf4a (patch)
tree1c97cff50691087755970b48fdd55de132ea7b79 /app-editors/vim-core/files/vimrc-r5
parentapp-editors/vim-core: enable omni completion based on syntax files. (diff)
downloadgentoo-e24b5f0d42be2a081237c6f1362f2672ebffaf4a.tar.gz
gentoo-e24b5f0d42be2a081237c6f1362f2672ebffaf4a.tar.bz2
gentoo-e24b5f0d42be2a081237c6f1362f2672ebffaf4a.zip
app-editors/vim-core: enable omni completion before sourcing of /etc/vimrc.local.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-editors/vim-core/files/vimrc-r5')
-rw-r--r--app-editors/vim-core/files/vimrc-r512
1 files changed, 6 insertions, 6 deletions
diff --git a/app-editors/vim-core/files/vimrc-r5 b/app-editors/vim-core/files/vimrc-r5
index 5d8c9d5b0f1f..2409822e628c 100644
--- a/app-editors/vim-core/files/vimrc-r5
+++ b/app-editors/vim-core/files/vimrc-r5
@@ -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 :