It looks like you definitely improved the situation but didn't solve it completely. It works if the static part of the snippet (i.e. "\ref{" for the \ref{} tex snippet) stays on it's initial line.
On the other hand it does not work right if this part of the snippet is wrapped to a new line as well.
It looks like you definitely improved the situation but didn't solve it completely. It works if the static part of the snippet (i.e. "\ref{" for the \ref{} tex snippet) stays on it's initial line.
On the other hand it does not work right if this part of the snippet is wrapped to a new line as well.
Steps to reproduce:
- vim test.tex -c "set tw=10"
This works:
r<tab>foo bar
This does not work:
foo r<tab>bar