YAML front matter as comment

This commit is contained in:
Sencer Selcuk
2016-01-24 11:52:50 -05:00
parent 225338e9b7
commit 8817c773d7

View File

@@ -60,6 +60,8 @@ syn match markdownBlockquote ">\%(\s\|$\)" contained nextgroup=@markdownBlock
syn region markdownCodeBlock start=" \|\t" end="$" contained
syntax match YAMLFrontMatter /\%^---\_.\{-}\.\.\.$/
" TODO: real nesting
syn match markdownListMarker "\%(\t\| \{0,4\}\)[-*+]\%(\s\+\S\)\@=" contained
syn match markdownOrderedListMarker "\%(\t\| \{0,4}\)\<\d\+\.\%(\s\+\S\)\@=" contained
@@ -145,6 +147,7 @@ hi def link markdownBoldDelimiter markdownBold
hi def link markdownBoldItalic htmlBoldItalic
hi def link markdownBoldItalicDelimiter markdownBoldItalic
hi def link markdownCodeDelimiter Delimiter
hi def link YAMLFrontMatter Comment
hi def link markdownEscape Special
hi def link markdownError Error