From: Hiroshi Shirosaki Date: Fri, 12 Feb 2016 00:18:12 +0000 (+0900) Subject: Merge pull request #257 from alexconst/fix/url_regex X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/eec125daacd3daf409238ea07b0f03c6504d5edd?hp=e04eb9dbd2a3f29f031680d5508ac846c0b12111 Merge pull request #257 from alexconst/fix/url_regex Fix URL syntax regex --- diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 9e0eb49..07adae9 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -62,8 +62,8 @@ execute 'syn region mkdLink matchgroup=mkdDelimiter start="\\\@'), 'mkdDelimiter' AssertNotEqual SyntaxOf('c'), 'mkdInlineURL' +Given markdown; +http://12monkeys.foo + +Execute (autolink with domain starting with a number): + AssertEqual SyntaxOf('12monkeys'), 'mkdInlineURL' + Given markdown;