Re: More auto-indent problems

2012-01-12 Thread Linda W
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.

More auto-indent problems

2012-01-11 Thread Linda W
This may have something to do with my settings, or is some endemic problem in language based indenting. For my indent settings, I have 'si' set, but not 'ai', However, in 2 different languages, perl and javascript, having a backslash in a line will automatically cause indenting on the

Re: More auto-indent problems

2012-01-11 Thread Gary Johnson
On 2012-01-11, Linda W wrote: This may have something to do with my settings, or is some endemic problem in language based indenting. For my indent settings, I have 'si' set, but not 'ai', However, in 2 different languages, perl and javascript, having a backslash in a line will