From 33b2acc6fbbf8caa8832c67e1b3fec9144728772 Mon Sep 17 00:00:00 2001 From: "gabriele.lana" Date: Thu, 4 Sep 2014 15:42:54 +0200 Subject: [PATCH] Resolve #18 --- syntax/markdown.vim | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 88d1663..1c0a4fb 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -123,26 +123,34 @@ syn match markdownEmailLinkInText /[[:alnum:]._%+-]\+@[[:alnum:].-]\+\.\w\{2,4}/ " something encosed in square brackets " could not be preceded by a backslash " could contain pairs of square brackets -" could contain pairs of escaped square brackets " could contain no more than two consecutive newlines -" could contain single square brackets escaped +" could contain single square brackets (open or closed) escaped " could not contain unbalanced square brackets like 'a [ b \] c' " could not contain nested square brackets -let b:markdown_syntax_square_brackets_block = - \ '\%(\\\)\@