Skip to content

Commit

Permalink
doc: bump version requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
lervag committed Apr 21, 2024
1 parent 9f6a5bb commit a1ea8ea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ filetype and syntax plugin for LaTeX files.

## Requirements

VimTeX requires Vim version 8.0.1453 or Neovim version 0.4.3. The requirements
were updated in July 2020 after the release of VimTeX 1.0. If you are stuck
VimTeX requires Vim version 9.1 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 v1.0 tag.
version of VimTeX, but instead remain at the v2.15 tag.

Some features require external tools. For example, the default compiler backend
relies on [latexmk](https://www.cantab.net/users/johncollins/latexmk/index.html).
Expand Down
8 changes: 4 additions & 4 deletions doc/vimtex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ of its key features. Windows users should also read |vimtex-faq-windows|.

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

let g:vimtex_version_check = 0
Expand Down Expand Up @@ -295,9 +295,9 @@ Clientserver ~
aware of some differences from regular Vim and should therefore read
|macvim-clientserver| carefully.

Since Vim version 8.0.475, one can use |remote_startserver()| to start
a server from your `vimrc` file. The following vimrc configuration snippet
will ensure that Vim starts with a server, if possible: >vim
You can use |remote_startserver()| to start a server from your `vimrc` file.
The following vimrc configuration snippet will ensure that Vim starts with
a server, if possible: >vim

if empty(v:servername) && exists('*remote_startserver')
call remote_startserver('VIM')
Expand Down
6 changes: 3 additions & 3 deletions ftplugin/tex.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-9.1.0'))
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 9.1 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 a1ea8ea

Please sign in to comment.