github lervag/vimtex v2.1
vimtex 2.1

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

This is a minor release that mainly addresses some issues with the new syntax plugin released in version 2.0.

The release brings one breaking change with respect to the old version: The syntax plugin used the naming scheme tex{type}Region for syntax regions, e.g. texMathRegion for math-mode regions. However, since this was only a minor change from the name tex{type}Zone that is used in the internal syntax plugin, and since a lot of people are using simple scripts to detect math mode based on the syntax, the change brought by Vimtex version 2.0 seems unnecessary and only means things get more complicated for a lot of people. Thus, in this minor release we revert the naming scheme back to tex{type}Zone. For more information and related discussions, see #1880 and #1883.

Features

  • Improved conceal support (see e.g. #1881)
  • Add syntax matching for \if, \else, and \fi
  • Add match for \let
  • Add umbrella syntax group for \let, \def and \newcommand
  • vimtex#syntax#in_mathzone now accounts for \text arguments (#1884)

Acknowledgements
Thanks to @j1-lee, @Konfekt, and @tomtomjhj for the PR contributions!

Don't miss a new vimtex release

NewReleases is sending notifications on new releases.