mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-12 03:43:48 -05:00
Extract YAML front matter handling to vim-liquid
This commit is contained in:
@@ -9,7 +9,6 @@ endif
|
|||||||
|
|
||||||
runtime! syntax/html.vim
|
runtime! syntax/html.vim
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
syn include @markdownYamlTop syntax/yaml.vim
|
|
||||||
|
|
||||||
syn sync minlines=10
|
syn sync minlines=10
|
||||||
syn case ignore
|
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 match markdownRule "- *- *-[ -]*$" contained
|
syn match markdownRule "- *- *-[ -]*$" contained
|
||||||
|
|
||||||
syn region markdownYamlHead start="\%^---$" end="^---\s*$" keepend contains=@markdownYamlTop
|
|
||||||
|
|
||||||
syn match markdownLineBreak "\s\{2,\}$"
|
syn match markdownLineBreak "\s\{2,\}$"
|
||||||
|
|
||||||
syn region markdownIdDeclaration matchgroup=markdownLinkDelimiter start="^ \{0,2\}!\=\[" end="\]:" oneline keepend nextgroup=markdownUrl skipwhite
|
syn region markdownIdDeclaration matchgroup=markdownLinkDelimiter start="^ \{0,2\}!\=\[" end="\]:" oneline keepend nextgroup=markdownUrl skipwhite
|
||||||
|
|||||||
Reference in New Issue
Block a user