> The indent/tcl.vim file needs an improvement. I already contacted
> Nikolai Weibull and he told me he's the previous maintainer and not
> the current maintainer. How do I find out who is maintaining the
> runtime/indent files?
Nobody.
> Lines 59-60:
> elseif line =~ '^\s*}'
> return indent(v:lnum) - shiftwidth()
> ...if a line starts with a closing brace, then it should be de-indented one
> shiftwidth relative to the previous line. This code does the de-indentation
> relative to the current line without regard to the previous line.
>
> This works okay as you're interactively typing in Tcl code, but it won't
> correct existing code that is not indented enough.
>
> Here's a patch that fixes the problem. I also added a condition for line
> continuation slash markers.
That looks OK. We now have tests for indent files, can you have a look
into adding one for tcl? Even a simple one that shows what you are
fixing would be helpful. See
$VIMRUNTIME/indent/testdir/README.txt
--
ARTHUR: ... and I am your king ....
OLD WOMAN: Ooooh! I didn't know we had a king. I thought we were an
autonomous collective ...
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.