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!