Skip to content

Commit

Permalink
chore: relax the Vim version requirement
Browse files Browse the repository at this point in the history
refer: #2934
  • Loading branch information
lervag committed Apr 24, 2024
1 parent 87549c4 commit 6c01660
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ filetype and syntax plugin for LaTeX files.

## Requirements

VimTeX requires Vim version 9.1 or Neovim version 0.9.5. The requirements
VimTeX requires Vim version 8.2.3995 or Neovim version 0.9.5. The requirements
were updated in April 2024 after the release of VimTeX 2.15. If you are stuck
on older versions of Vim or Neovim, then you should not use the most recent
version of VimTeX, but instead remain at the v2.15 tag.
Expand Down
4 changes: 2 additions & 2 deletions doc/vimtex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,12 @@ of its key features. Windows users should also read |vimtex-faq-windows|.

Vim version ~
*vimtex_version_check*
VimTeX requires Vim version 9.1 or neovim version 0.9.5. It will not
VimTeX requires Vim version 8.2.3995 or neovim version 0.9.5. It will not
load for older versions, unless one adds >vim

let g:vimtex_version_check = 0
<
to one's `vimrc` file. This might work, but issues due to older versions
to one's `vimrc` file. This might work, but issues due to older versions
than the mentioned here will be ignored.

Vim configuration ~
Expand Down
6 changes: 3 additions & 3 deletions ftplugin/bib.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ endif
let b:did_ftplugin = 1

if !(!get(g:, 'vimtex_version_check', 1)
\ || has('nvim-0.4.3')
\ || has('patch-8.0.1453'))
\ || has('nvim-0.9.5')
\ || has('patch-8.2.3995'))
echoerr 'Error: VimTeX does not support your version of Vim'
echom 'Please update to Vim 8.0.1453 or neovim 0.4.3 or later!'
echom 'Please update to Vim 8.2.3995 or neovim 0.9.5 or later!'
echom 'For more info, please see :h vimtex_version_check'
finish
endif
Expand Down
4 changes: 2 additions & 2 deletions ftplugin/tex.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ let b:did_ftplugin = 1

if !(!get(g:, 'vimtex_version_check', 1)
\ || has('nvim-0.9.5')
\ || has('patch-9.1.0'))
\ || has('patch-8.2.3995'))
echoerr 'Error: VimTeX does not support your version of Vim'
echom 'Please update to Vim 9.1 or neovim 0.9.5 or later!'
echom 'Please update to Vim 8.2.3995 or neovim 0.9.5 or later!'
echom 'For more info, please see :h vimtex_version_check'
finish
endif
Expand Down

0 comments on commit 6c01660

Please sign in to comment.