Forked from tobym/vim_url_regex_syntax_hightlighting.vim
Last active
August 29, 2015 14:11
-
-
Save lopesivan/20ad2ca5c42a23073fcd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " File: .vim/syntax/rdoc.vim | |
| " RDoc inline links: protocol optional user:pass@ sub/domain .com, .co.uk, etc optional port path/querystring/hash fragment | |
| " ------------ _____________________ --------------------------- ________________________ ----------------- __ | |
| syntax match rdocInlineURL /https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z][-_0-9A-Za-z]*\.\)\{1,}\(\w\{2,}\.\?\)\{1,}\(:[0-9]\{1,5}\)\?\S*/ | |
| HtmlHiLink rdocInlineURL htmlLink |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment