Extract YAML front matter handling to vim-liquid

This commit is contained in:
Tim Pope
2010-02-27 16:15:00 -05:00
parent dd1b2298aa
commit 4b4ac74bf9

View File

@@ -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