Browse files

Extract YAML front matter handling to vim-liquid

  • Loading branch information...
1 parent dd1b229 commit 4b4ac74bf948801cf076cdcea16198994b2253a7 @tpope tpope committed Feb 27, 2010
Showing with 0 additions and 3 deletions.
  1. +0 −3 syntax/markdown.vim
View
3 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

0 comments on commit 4b4ac74

Please sign in to comment.