Browse Source

Place version check on vim-pandoc

Doesn't work on vim 7.3
Weiyi Lou 10 years ago
parent
commit
b9036447d7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      vim/plugins.vim

+ 3 - 1
vim/plugins.vim

@@ -24,7 +24,9 @@ Plug 'tpope/vim-endwise'
 Plug 'tpope/vim-fugitive'
 Plug 'tpope/vim-repeat'
 Plug 'tpope/vim-unimpaired'
-Plug 'vim-pandoc/vim-pandoc'
+if v:version >= 704
+  Plug 'vim-pandoc/vim-pandoc'
+endif
 Plug 'vim-scripts/visualrepeat'
 " }}}