Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/
Date: Sun, 22 Oct 2017 14:31:37
Message-Id: 1508682673.e24b5f0d42be2a081237c6f1362f2672ebffaf4a.monsieurp@gentoo
1 commit: e24b5f0d42be2a081237c6f1362f2672ebffaf4a
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 22 14:31:13 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 22 14:31:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e24b5f0d
7
8 app-editors/vim-core: enable omni completion before sourcing of /etc/vimrc.local.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 app-editors/vim-core/files/vimrc-r5 | 12 ++++++------
13 1 file changed, 6 insertions(+), 6 deletions(-)
14
15 diff --git a/app-editors/vim-core/files/vimrc-r5 b/app-editors/vim-core/files/vimrc-r5
16 index 5d8c9d5b0f1..2409822e628 100644
17 --- a/app-editors/vim-core/files/vimrc-r5
18 +++ b/app-editors/vim-core/files/vimrc-r5
19 @@ -193,12 +193,6 @@ endif " has("autocmd")
20 " instead:
21 let g:skip_defaults_vim = 1
22
23 -" {{{ vimrc.local
24 -if filereadable("@GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local")
25 - source @GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local
26 -endif
27 -" }}}
28 -
29 " Enable Omni completion when opening a file only if a specific plugin does
30 " not already exist for that filetype. This allows Omni completion
31 " (Ctrl-x/Ctrl-o) to work with any programming language if and only if a syntax
32 @@ -210,5 +204,11 @@ if exists("+omnifunc")
33 \ endif
34 endif
35
36 +" {{{ vimrc.local
37 +if filereadable("@GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local")
38 + source @GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local
39 +endif
40 +" }}}
41 +
42 " vim: set fenc=utf-8 tw=80 sw=2 sts=2 et foldmethod=marker :