Re: question on VIM syntax: highlight an entire paragraph

2016-04-18 Thread porphyry5
On Sunday, April 17, 2016 at 9:34:04 AM UTC-7, ZyX wrote: > 2016-04-17 17:52 GMT+03:00 porphyry5 >: > > On Saturday, April 16, 2016 at 3:48:52 PM UTC-7, Jose Caballero wrote: > >> Is it possible to highlight an entire paragraph based on a single line > >> content? > >> I would be interested in

Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread Nikolay Aleksandrovich Pavlov
2016-04-18 0:11 GMT+03:00 Tom M <7to...@gmail.com>: > On Sunday, April 17, 2016 at 4:34:04 PM UTC, ZyX wrote: >> 2016-04-17 17:52 GMT+03:00 porphyry5 wrote: >> > On Saturday, April 16, 2016 at 3:48:52 PM UTC-7, Jose Caballero wrote: >> >> Is it possible to highlight an entire paragraph based on a

Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread Tom M
On Sunday, April 17, 2016 at 4:34:04 PM UTC, ZyX wrote: > 2016-04-17 17:52 GMT+03:00 porphyry5 wrote: > > On Saturday, April 16, 2016 at 3:48:52 PM UTC-7, Jose Caballero wrote: > >> Is it possible to highlight an entire paragraph based on a single line > >> content? > >> I would be interested in

Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread Jose Caballero
2016-04-17 13:46 GMT-04:00 Nikolay Aleksandrovich Pavlov : > 2016-04-17 20:19 GMT+03:00 Jose Caballero : >>> >>> " Need average length of such enabled section in place of 50 >>> syntax sync minlines=50 >>> syntax match PreProc

Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread Nikolay Aleksandrovich Pavlov
2016-04-17 20:19 GMT+03:00 Jose Caballero : >> >> " Need average length of such enabled section in place of 50 >> syntax sync minlines=50 >> syntax match PreProc /\%(\%^\|^$\n\)\@2<=\%(.\+\n\)*enabled = >> False\n\%(.\+\%(\n\|\%$\)\)*\%(\n\|\%$\)\@1=/ >> > > I

Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread Jose Caballero
> > " Need average length of such enabled section in place of 50 > syntax sync minlines=50 > syntax match PreProc /\%(\%^\|^$\n\)\@2<=\%(.\+\n\)*enabled = > False\n\%(.\+\%(\n\|\%$\)\)*\%(\n\|\%$\)\@1=/ > I have just started playing with it E59: invalid character after \@ E475:

Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread Nikolay Aleksandrovich Pavlov
2016-04-17 17:52 GMT+03:00 porphyry5 : > On Saturday, April 16, 2016 at 3:48:52 PM UTC-7, Jose Caballero wrote: >> Is it possible to highlight an entire paragraph based on a single line >> content? >> I would be interested in changing the color of an entire block of >>

Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread porphyry5
On Saturday, April 16, 2016 at 3:48:52 PM UTC-7, Jose Caballero wrote: > Is it possible to highlight an entire paragraph based on a single line > content? > I would be interested in changing the color of an entire block of > configuration lines if one of those lines in the block is "enabled = >

Re: question on VIM syntax: highlight an entire paragraph

2016-04-16 Thread Nikolay Aleksandrovich Pavlov
2016-04-17 2:05 GMT+03:00 Jose Caballero : > > > > > > Is it possible to highlight an entire paragraph based on a single line > content? > > I would be interested in changing the color of an entire block of > > configuration lines if one of those lines in the block is

Re: question on VIM syntax: highlight an entire paragraph

2016-04-16 Thread Jose Caballero
>> >> >> Is it possible to highlight an entire paragraph based on a single line >> content? >> I would be interested in changing the color of an entire block of >> configuration lines if one of those lines in the block is "enabled = >> False", for example. >> >> I am so new to this (*) that

Re: question on VIM syntax: highlight an entire paragraph

2016-04-16 Thread Nikolay Aleksandrovich Pavlov
2016-04-16 19:52 GMT+03:00 Jose Caballero : > Hello, > > I have the feeling I asked this same question about a year ago. If > that is the case, then I truly apologize. I know, and understand, that > asking twice the same thing in a mailing list is close to a deadly > sin.

question on VIM syntax: highlight an entire paragraph

2016-04-16 Thread Jose Caballero
Hello, I have the feeling I asked this same question about a year ago. If that is the case, then I truly apologize. I know, and understand, that asking twice the same thing in a mailing list is close to a deadly sin. Is it possible to highlight an entire paragraph based on a single line content?