From 845f7e493ea9df8887afd7be68c26f0031c72cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Sun, 27 Mar 2016 22:09:06 +0200 Subject: [PATCH] And more travis; Use latest vim version --- .travis.yml | 8 ++++++++ autoload/vimtex.vim | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2408f90..7dc8c07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,16 @@ language: vim before_script: | git clone https://github.com/junegunn/vader.vim.git + git clone https://github.com/vim/vim + cd vim + ./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp + make -j4 + sudo make install + cd - script: | + export PATH="/usr/local/bin:$PATH" + vim --version vim -Nu <(cat << VIMRC let &rtp = '.,' . &rtp let &rtp .= ',after' diff --git a/autoload/vimtex.vim b/autoload/vimtex.vim index 72364fd..ba58636 100644 --- a/autoload/vimtex.vim +++ b/autoload/vimtex.vim @@ -209,9 +209,9 @@ function! s:check_version() " {{{1 return endif - " if v:version <= 703 && !has('patch544') - " echoerr 'vimtex error: Please use Vim version 7.3.544 or newer!' - " endif + if v:version <= 703 && !has('patch544') + echoerr 'vimtex error: Please use Vim version 7.3.544 or newer!' + endif endfunction " }}}1