Small indent/perl.vim patch concerning bad match patterns

2010-11-17 Thread fhml
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, '[(){}\[\]]', matchend(line, '^\s*[)}\]]'))". Using \[ in between

Re: Small indent/perl.vim patch concerning bad match patterns

2010-11-18 Thread James Vega
On Thu, Nov 18, 2010 at 07:17:47AM +0300, ZyX wrote: > Reply to message «», > sent 01:16:59 18 November 2010, Thursday > by f...@herrmann-koenigsberg.de: > > > I guess i found a little bug in runtime/indent/perl.vim. perl.vim has some > > patterns for matching opening and closing brackets. But pe

Re: Small indent/perl.vim patch concerning bad match patterns

2010-11-18 Thread ZyX
Reply to message «Re: Small indent/perl.vim patch concerning bad match patterns», sent 15:44:46 18 November 2010, Thursday by James Vega: > Since when is people not following documented behavior a reason to > change the tool? I'd be more understanding if Vim didn't explicit

Re: Small indent/perl.vim patch concerning bad match patterns

2010-11-18 Thread James Vega
On Thu, Nov 18, 2010 at 10:43 AM, ZyX wrote: > Reply to message «Re: Small indent/perl.vim patch concerning bad match > patterns», > sent 15:44:46 18 November 2010, Thursday > by James Vega: > >> Since when is people not following documented behavior a reason to >> ch