projects
/
vimconf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plugins: Fix manpager collision with vim on gentoo
[vimconf.git]
/
plugins.vim
diff --git
a/plugins.vim
b/plugins.vim
index 7b9a642c4a4020c1ca70412336742fc2c2c430a8..c1c4e6fbb48dafac39735cd3e14635252098c868 100644
(file)
--- a/
plugins.vim
+++ b/
plugins.vim
@@
-25,7
+25,11
@@
Plug 'junegunn/vim-easy-align'
Plug 'thinca/vim-fontzoom'
Plug 'thinca/vim-fontzoom'
-Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'}
+" vim-core on Gentoo does ship a manpager plugin that collides with MANPAGER
+" definition.
+if has('nvim') || stridx(system("uname -r"), "-gentoo") == -1
+ Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'}
+endif
" Make . more useful after a plugin map
Plug 'tpope/vim-repeat'
" Make . more useful after a plugin map
Plug 'tpope/vim-repeat'