From 6c01660a99c0cc0906b39094f4a2d086b28fa995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Wed, 24 Apr 2024 23:20:07 +0200 Subject: [PATCH] chore: relax the Vim version requirement refer: #2934 --- README.md | 2 +- doc/vimtex.txt | 4 ++-- ftplugin/bib.vim | 6 +++--- ftplugin/tex.vim | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9555e296a0..8d8ca0cf1e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/doc/vimtex.txt b/doc/vimtex.txt index 7bff8a459c..39808bdccf 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -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 ~ diff --git a/ftplugin/bib.vim b/ftplugin/bib.vim index 8c3fa806b1..87b9ae7801 100644 --- a/ftplugin/bib.vim +++ b/ftplugin/bib.vim @@ -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 diff --git a/ftplugin/tex.vim b/ftplugin/tex.vim index 8dd44f97b3..f4c00c333d 100644 --- a/ftplugin/tex.vim +++ b/ftplugin/tex.vim @@ -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