So I'm using vimtex, and it's great, but there is one thing that is so annoying and I cannot believe that people actually use that feature. Namely, say I write something like
\begin{align}
x &= blabla
\end{align}
If I insert a latex-newline \\
, then a newline and an alignment character &
, vim does the following "for me", which really is totally contrary to all my hopes and dreams:
\begin{align}
x &= blabla \\
&
\end{align}
What I want is the far superior
\begin{align}
x &= blabla \\
&
\end{align}
Is there any way to achieve this?
There is an oldish thread on github, but the solutions given there don't seem to work anymore.
Surely I can't be the only experiencing this :(
g:vimtex_indent_align_on_ampersand
option is mentioned. Have you tried that?:let g:the_var = 0
before the plugin loads, probably.