From: Hiroshi Shirosaki Date: Thu, 26 Jul 2018 05:07:43 +0000 (+0900) Subject: Merge pull request #377 from mmFooD/code-conceal X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/3b87f963c524e58a1ae8dfdf46f21075b1394bfb?hp=f0cef30ad92ffea80c8feb4826d0005262dbb40f Merge pull request #377 from mmFooD/code-conceal Added concealends for code items --- diff --git a/syntax/markdown.vim b/syntax/markdown.vim index fbf082e..566407f 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -115,7 +115,7 @@ syn match mkdRule /^\s*_\s\{0,1}_\s\{0,1}_\(_\|\s\)*$/ " YAML frontmatter if get(g:, 'vim_markdown_frontmatter', 0) syn include @yamlTop syntax/yaml.vim - syn region Comment matchgroup=mkdDelimiter start="\%^---$" end="^---$" contains=@yamlTop keepend + syn region Comment matchgroup=mkdDelimiter start="\%^---$" end="^\(---\|...\)$" contains=@yamlTop keepend unlet! b:current_syntax endif