Hello again folks. Sorry for pressing control-enter too fast. Hey folks.
I guess i found a little bug in runtime/indent/perl.vim. perl.vim has some
patterns for matching opening and closing brackets. But perl.vim escapes
opening square brackets in square brackets. For example: "match(line,
'[(){}\[\]]', bracepos + 1)". Using \[ in between [] makes vim searching for
backslashes and opening square brackets. This causes lines following lines with
backslashes to be indented wrong.
For example:
test_function(\...@test_array);
makes vim to shift the next line one &sw to the left.
I don't think this is intended, so the attached patch should solve the issue.
the patch is a 'hg diff' against a fresh 'hg clone
https://vim.googlecode.com/hg/ vim'
Greetings,
Felix Herrmann
--
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
indent_perl_patch
Description: Binary data
