From 3522dd502b500365afe4462241921216f1d3ec1d Mon Sep 17 00:00:00 2001 From: Hiroshi Shirosaki Date: Wed, 20 Jan 2016 17:08:48 +0900 Subject: [PATCH] Highlight link text with newline --- syntax/markdown.vim | 2 +- test/syntax.vader | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 67043a1..e4c0068 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -53,7 +53,7 @@ syn region htmlBoldItalic start="___\ze\S" end="\S\zs___" keepend syn region mkdFootnotes matchgroup=mkdDelimiter start="\[^" end="\]" execute 'syn region mkdID matchgroup=mkdDelimiter start="\[" end="\]" contained oneline' . s:conceal execute 'syn region mkdURL matchgroup=mkdDelimiter start="(" end=")" contained oneline' . s:conceal -execute 'syn region mkdLink matchgroup=mkdDelimiter start="\\\@