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