Hi,
I attached a patch resolving the following issue: when environment like
"figure" or "table" is found, it is folded by Vim-LaTeX and title of the fold
is set to content of \caption. This does handle correctly situations when the
command is of usual form
\caption{Description.},
but not
\caption[Short Description]{Long Description}.
My patch enables fold title for the second form, where it uses the text from
"Short Description" as the fold text. It works for me, I saw it working with
"figure" and "table" environments. Patch should be applied against folding.vim
file.
Regards,
Boris Dusek
:wq
|