mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 10:00:27 +01:00
Add yaml frontmatter support to markdown highlighting
This commit is contained in:
3
.vim/after/syntax/markdown.vim
Normal file
3
.vim/after/syntax/markdown.vim
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
unlet b:current_syntax
|
||||||
|
syntax include @Yaml syntax/yaml.vim
|
||||||
|
syntax region yamlFrontmatter start=/\%^---$/ end=/^---$/ keepend contains=@Yaml
|
||||||
Reference in New Issue
Block a user