mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-11 19:33:49 -05:00
Extract YAML front matter handling to vim-liquid
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user