Saturday, January 5, 2013

Re: perl: indenting references (\@arr)

Thanks to Andy.

Knowing this, I don't need the function any more.

It's enough to modify the 2 lines
from
<code>
let bracepos = match(line, '[(){}\[\]]', ...
</code>
to
<code>
let bracepos = match(line, '[(){}[\]]', ...
</code>
(Remove the first backslash.)

Now it works perfectly.

Ronald



--
View this message in context: http://vim.1045645.n5.nabble.com/perl-indenting-references-arr-tp4950945p5712944.html
Sent from the Vim - General mailing list archive at Nabble.com.

--
You received this message from the "vim_use" 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

No comments: