commit c6d83780061bd785fe51d78787f5f79125124513
parent 17d40aa4cd032a1e8169cee9711aa71c64038b16
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 5 Mar 2020 12:12:24 +0100
vim: markdown syntax highlight for abbrev
Former-commit-id: 0699047831730122bbc8c0201a65214320926e31
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vim/after/syntax/markdown.vim b/vim/after/syntax/markdown.vim
@@ -6,9 +6,11 @@ syn region markdownComment start="<!--" end="-->" contains=@NoSpell
unlet b:current_syntax
syntax include @YAML syntax/yaml.vim
syn region markdownYaml matchgroup=SpecialComment keepend start="\(\%^\|^\s*\)---$" end="^\(-\|\.\)\{3\}$" contains=@YAML
+syn region markdownAbbrev start="\*\[" end="$"
let b:current_syntax = 'markdown'
hi def link markdownMathInline Special
hi def link markdownMathBlock Special
hi def link markdownComment Comment
-hi link markdownYaml SpecialComment
+hi def link markdownYaml SpecialComment
+hi def link markdownAbbrev Define