[PATCH] Contrib: removed ngxBlock syntax group

OOO othree at gmail.com
Fri Mar 4 04:20:48 UTC 2016


Hi

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>:

> Hello!
>
> 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
> http://nginx.org/
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>



-- 
OOO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160304/23bd91d1/attachment.html>


More information about the nginx-devel mailing list