I just took a minute to investigate snipmates implementation of this problem: snipMate always escapes out of the snippet as soon as the cursor leaves the current line. For comparision: UltiSnips result with the sec snippet in tex is completely broken:
I just took a minute to investigate snipmates implementation of this problem: snipMate always escapes out of the snippet as soon as the cursor leaves the current line. For comparision: UltiSnips result with the sec snippet in tex is completely broken:
\section{ lksdjfljsdfl kjsdflkjsdljkf sldkfj slkdjf lksdj flkjsd lkfj sec:lksdjfljsdf l_kjsdflkjsdljk f_sldkfj_ slkdjf_ lksdj_flkjsd_ lkfj_lskdjf_ lksjd_flksjd_ fl}
lskdjf} % {{{ lksjd flksjd fl} % {{{
\label{
% section lksdjfljsdfl_ kjsdflkjsdljkf_ sldkfj_ slkdjf_ lksdj_flkjsd_ lkfj_lskdjf_ lksjd_flksjd_ fl (end) }}}
snipmates result is less broken, but note that the mirror at the end is not correctly updated after the line break:
\section{lksdjf lksjdflksjdf lksdjfl ksjd flksjdf lksjdf lksjdflksjd flksjdf
lksjdflksjd flksjdf lksjd flksdjf lksdjf lksdjf} % (fold)
\label{sec:lksdjf lksjdflksjdf lksdjfl ksjd flksjdf lksjdf lksjdflksjd flksjdf lks}
% section lksdjf lksjdflksjdf lksdjfl ksjd flksjdf lksjdf lksjdflksjd flksjdf lks (end)
So snipmate is no real help here; it avoids the problem by not supporting multiline tabstops.