[PATCH] Contrib: removed ngxBlock syntax group
othree at gmail.com
Fri Mar 4 04:20:48 UTC 2016
Yes, every directive are top level keywords in vim syntax now.
And they will be highlighted at everywhere except string.
To solve this issue, I will add a group to match uri and regexp part.
Then these groups will also be excepted part.
2016-03-04 12:05 GMT+08:00 Maxim Dounin <mdounin at mdounin.ru>:
> On Fri, Mar 04, 2016 at 11:23:40AM +0800, OOO wrote:
> > My change made `location` and other `ngxDirectiveBlock` are same as other
> > directive.
> > So the issue appear on `ngxDirectiveBlock` groups also.
> So the problem started to manifest itself in locations in addition
> to other directives. Still looks like a regression to me.
> > I think I can fix this by highlight regexp (plan to use same color as
> > string).
> > But will need more test.
> > Do you know where I can get samples of complex nginx conf?
> Documentation at nginx.org can be a good starting point.
> Maxim Dounin
> nginx-devel mailing list
> nginx-devel at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel