github lervag/vimtex v2.0
vimtex 2.0

latest releases: v2.15, v2.14, v2.13...
3 years ago

Major version release
Full syntax support has now been adopted into Vimtex (see #1799 and #1834 for releated discussions). This marks a major change. Some important notes:

  • Vimtex assumes that people want LaTeX filetype for all .tex files. One may still specify g:tex_flavor specifically to avoid this. That is, Vimtex respects the setting of g:tex_flavor if it is explicitly defined.
  • Vimtex no longer respects the "internal" options such as g:tex_fast and g:tex_conceal. For conceals, see :help g:vimtex_syntax_conceal.
  • The Vimtex syntax script is very different from the built-in syntax support. There may be some minor overlap of syntax group names, but most of the groups have new names.
  • The Vimtex syntax script is developed to be consistent, structured, and as simple as possible. One goal has been to make it easy to customize syntax highlighting and LaTeX specific colorschemes.
  • The Vimtex syntax script does not support syntax folding.
  • See :help vimtex-syntax for a more complete reference and documentation of the new syntax feature. See also the wiki for an example of how to customize the highlight groups.

New options

  • g:vimtex_syntax_conceal
  • g:vimtex_syntax_conceal_default
  • g:vimtex_syntax_packages

Deprecated options

  • g:vimtex_syntax_autoload_packages (in favor of the new g:vimtex_syntax_packages)

Acknowledgements
This has been quite a lot of work. It would have been much harder without the very useful and constructive feedback from and review by @clason and @Rmano. Thank you!

Don't miss a new vimtex release

NewReleases is sending notifications on new releases.