[PATCH] Contrib: update vim syntax script

Maxim Dounin mdounin at mdounin.ru
Mon Feb 20 16:08:21 UTC 2017


Hello!

On Mon, Feb 20, 2017 at 11:34:35PM +0800, OOO wrote:

> This is very clever method to do it.
> Write a Vim pattern to match the URL or location is much more idealy.
> But the performance might be much worse than current solution.

I think a more generic solution would be to just skip all parameters 
of directives, regardless of whether it is URL or not.  But this is 
certainly a separate task, and will likely result in major changes 
to the whole syntax highliting logic.

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx-devel mailing list