[Vim-latex-devel] Issue about indentation
Brought to you by:
srinathava,
tmaas
From: Alberto A. <ygr...@gm...> - 2010-10-25 22:24:05
|
Hey there, I have yet another question, but as it's about a different part of the latexsuite I thought it would be better to 'file' a different question. I have added a couple of templates, and they include a few lines in the preamble to customise backreferences. Everything works fine, save for indentation, that gets screwed after these lines when I use the templates: {{{ \renewcommand*{\backrefalt}[4]{% \ifcase #1 % { {\scriptsize Not cited in the text.}}% \or { {\scriptsize Back to page} #2}% \else { {\scriptsize Back to page} #2}% \fi } }}} Vim indents the \ifcase command, which is reasonable, and adds an additional indentation for the \or, which is also reasonable. But then it adds also additional indentations for \else and \fi, and they don't disappear after closing the braces, so all the indentation is wrong. Is this something related to how I write those lines, or is it about indentation in the suite? Thanks, Al. |