Gary Johnson wrote:
I found the problem. There is a bug in $VIMRUNTIME/indent/perl.vim.
The author tried to match braces with this:
[(){}\[\]]
The trouble is, \[ is not an escaped [ because there is no need to
escape a [ within [].
Thanks for the clear description of the problem.
---
It was in javascript syntax as well.. it might be in other perl derived
or regex syntax
files, since vim's syntax is rather unique...(something I have asked for
a switch to be
added to the search and replace for -- to let vim use straight
perl-syntax with no exceptions,
unfortunately, my desire for something so obviously of benefit to a wide
range of people, got
nothing but detractors or people suggesting it can be done with a
script...(and pointing me
at one!, .. will have to try it but don't have high hopes...)...
sigh.
--
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