YouCompleteMe breaks auto-indent for LaTeX in vim

678 Views Asked by At

In LaTeX, I was used to typing

\begin{enumerate}
    \item Foo
        \item Bar
\end{enumerate}

And before typing Bar, the second \item would jump back to the correct indentation level. After installing YouCompleteMe, this no longer works. I have to manually reformat the text.

I am very happy with YouCompleteMe, but I also don't want to give up on the auto-indent for vim. What should I do?

0

There are 0 best solutions below