From 4b4ac74bf948801cf076cdcea16198994b2253a7 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 27 Feb 2010 16:15:00 -0500 Subject: [PATCH] Extract YAML front matter handling to vim-liquid --- syntax/markdown.vim | 3 --- 1 file changed, 3 deletions(-) diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 8010f4d..93a0b97 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -9,7 +9,6 @@ endif runtime! syntax/html.vim unlet! b:current_syntax -syn include @markdownYamlTop syntax/yaml.vim syn sync minlines=10 syn case ignore @@ -45,8 +44,6 @@ syn match markdownOrderedListMarker " \{0,4}\<\d\+\.\%(\s*\S\)\@=" contained syn match markdownRule "\* *\* *\*[ *]*$" contained syn match markdownRule "- *- *-[ -]*$" contained -syn region markdownYamlHead start="\%^---$" end="^---\s*$" keepend contains=@markdownYamlTop - syn match markdownLineBreak "\s\{2,\}$" syn region markdownIdDeclaration matchgroup=markdownLinkDelimiter start="^ \{0,2\}!\=\[" end="\]:" oneline keepend nextgroup=markdownUrl skipwhite