mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-18 23:03:40 -05:00
Merge 04701225ad into f9f845f28f
This commit is contained in:
@@ -85,6 +85,10 @@ syn match markdownBlockquote ">\%(\s\|$\)" contained nextgroup=@markdownBlock
|
||||
|
||||
syn region markdownCodeBlock start="^\n\( \{4,}\|\t\)" end="^\ze \{,3}\S.*$" keepend
|
||||
|
||||
syn include @yamlTop syntax/yaml.vim
|
||||
syntax match YAMLFrontMatter /\%^---\_.\{-}\.\.\.$/ contains=@yamlTop
|
||||
unlet! b:current_syntax
|
||||
|
||||
" TODO: real nesting
|
||||
syn match markdownListMarker "\%(\t\| \{0,4\}\)[-*+]\%(\s\+\S\)\@=" contained
|
||||
syn match markdownOrderedListMarker "\%(\t\| \{0,4}\)\<\d\+\.\%(\s\+\S\)\@=" contained
|
||||
|
||||
Reference in New Issue
Block a user