I am using neovim.
When editing a .tex file I don't want to wrap the lines within certain environments like equation or align and some others.
\begin{equation}
% very long line I don't want to wrap because \left( \frac{}{} \right) is very long and wrapping makes it harder to read
\end{equation}
And I want these lines to be wrapped because its text with some possible
inline maths. I am ok with inline math being wrapped for example $ax^2+b
x+c=0$ doesn't bother me.
But I wan't rest of the documents to be wrapped as usual. Is there any way I can do this?