X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d34f4d8edf7e93f54a0e1c6d41c85e557db71ee7..f9a841ef7c6cd7a8c97035896c5ba683069be236:/syntax/mkd.vim?ds=inline diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 19d59d5..eb87165 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -101,6 +101,12 @@ endif syn cluster mkdNonListItem contains=htmlItalic,htmlBold,htmlBoldItalic,mkdFootnotes,mkdID,mkdURL,mkdLink,mkdLinkDef,mkdLineBreak,mkdBlockquote,mkdCode,mkdMath,mkdIndentCode,mkdListItem,mkdRule,htmlH1,htmlH2,htmlH3,htmlH4,htmlH5,htmlH6 +" YAML frontmatter +if get(g:, 'vim_markdown_frontmatter', 0) + syn include @yamlTop syntax/yaml.vim + syn region Comment matchgroup=mkdDelimiter start="\%^---$" end="^---$" contains=@yamlTop +endif + "highlighting for Markdown groups HtmlHiLink mkdString String HtmlHiLink mkdCode String