[PATCH] Contrib: update vim syntax script
othree at gmail.com
Mon Feb 20 15:34:35 UTC 2017
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.
2017-02-20 23:20 GMT+08:00 Maxim Dounin <mdounin at mdounin.ru>:
> On Mon, Feb 20, 2017 at 05:39:04PM +0300, Maxim Dounin wrote:
>> > * iskeyword
>> > I don't really know why the original author want to change iskeyword.
>> > What I can confirm is, this is for URL.
>> > Several months ago, I think I figure out why, but I cant remember the
>> > reason now.
>> It may make sense to ask the author directly (cc'd).
>> To Evan: could you please comment on this? Thanks!
> Just for the record: as per Evan's response, this was done to
> prevent keyword withing URLs from being highlighted, and there is
> likely a better way to accomplish this.
> Maxim Dounin
> nginx-devel mailing list
> nginx-devel at nginx.org
More information about the nginx-devel