Am 13.05.2011 19:24, schrieb Radoslaw Nadstawny:
Hi there,
I've encountered some weird behavior in syntax highlighting that happens
when I use the 'extend' attribute. It's hard to describe precisely
with words, so I'm attaching an example to illustrate it.
I've tried to look into the code to
Hong Xu wrote:
No reply from the original author so I send the patch here.
This patch updates the syntax file to follow up the postfix version 2.9.
Thanks. I'll include it and add a line to indicate you made the last
update.
--
From know your smileys:
:-)Funny
|-)Funny
On Sat, 14 May 2011 11:09:20 +0200
Andy Wokula anw...@yahoo.de wrote:
You have a nested match for parens, but no keepend to be
extend-ed.
What works for me is to either remove extend, or add keepend in
the parens rule:
:sy region parens matchgroup=Operator start=/(/ end=/)/
I've tried to look into the code to find the source of this behavior,
but eventually decided that trying to understand what it does would
take me too much time so I gave up.
I had a quick look, too, and haven't spotted the bug yet.
Note that your second example is a red herring:
a[aaa]a
On Sat, 14 May 2011 14:21:04 +0200
Radek trueradz...@o2.pl wrote:
On Sat, 14 May 2011 11:09:20 +0200
Andy Wokula anw...@yahoo.de wrote:
The angles rule (with pattern .\{-}) matches a[aa, I
don't think the contained [aaa] should make it match
a[aaa]a.
Notice that the 'a' after the
On Wed, May 11, 2011 at 12:05 AM, Bram Moolenaar b...@moolenaar.net wrote:
Shawn Y.H. Kim wrote:
In response to the following comment made by Bram on Aug 2, 2007:
(can be viewed at
http://groups.google.com/group/vim_dev/browse_thread/thread/3b73a504c77ba803/)
I hesitate removing the
This patch fixes the problem with C indenting reported by Rouben
Rostamian on 2008 Aug 30, which has recently been mentioned here:
for (int i = 0; i 10; ++i)
if (i 1) {
foo(1);
} else
foo(0);
baz();
On 10-May-2011 Bram Moolenaar b...@moolenaar.net wrote:
And only an offset of -2 should produce what the documentation mentions:
#v+
/* vim: set fo+=o com=sr\:/***,m\:**,ex-2\:**/ :*/
aaa /***
**--right aligned from r flag
**
**/-- -2 specified for the