Please sign in to comment.
Bug fix for URL highlighting (trailing punctuation)
The "syntax region" command isn't very well suited to highlighting URLs. The only reason I used it was so I could hide URL schemes using Vim's conceal feature. I've now changed it to a "syntax match" command which makes it easier to deal with trailing punctuation, i.e. a trailing slash after a URL should be included in the match but other punctuation should be ignored (dots, commas, quotes, etc.)
- Loading branch information...