Re: How about highlighting captured groups in regex?

2019-10-09 Thread 'Andy Wokula' via vim_dev
Am 09.10.2019 um 18:57 schrieb Dominique Pell??: Andy Wokula wrote > Am 07.10.2019 um 13:51 schrieb Dominique Pell??: > > Hi > > > > Vim now highlights matching text when > > typing an Ex command like :%s/foobar/ > > I like it. But I wish that it would use > > a different color for the re

Re: How about highlighting captured groups in regex?

2019-10-09 Thread Dominique Pellé
Andy Wokula wrote > Am 07.10.2019 um 13:51 schrieb Dominique Pell??: > > Hi > > > > Vim now highlights matching text when > > typing an Ex command like :%s/foobar/ > > I like it. But I wish that it would use > > a different color for the regex captured group(s). > > > > For example, if I do :%s/

Re: How about highlighting captured groups in regex?

2019-10-09 Thread 'Andy Wokula' via vim_dev
Am 07.10.2019 um 13:51 schrieb Dominique Pell??: Hi Vim now highlights matching text when typing an Ex command like :%s/foobar/ I like it. But I wish that it would use a different color for the regex captured group(s). For example, if I do :%s/foo\(bar\)/ I would like "bar" (the captured grou

Re: How about highlighting captured groups in regex?

2019-10-07 Thread Ingo Karkat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07-Oct-2019 13:51 +0200, Dominique Pellé wrote: > Hi > > Vim now highlights matching text when typing a Ex command like > :%s/foobar/ I like it. But I wish that it would use a different > color for the regex captured group(s). > > For example,

How about highlighting captured groups in regex?

2019-10-07 Thread Dominique Pellé
Hi Vim now highlights matching text when typing a Ex command like :%s/foobar/ I like it. But I wish that it would use a different color for the regex captured group(s). For example, if I do :%s/foo\(bar\)/ I would like "bar" (the captured group) to be highlighted with a different color than foo