dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit e0c9548c805cb0aa6259b5ade4c233c3b9c0f4a6
parent f3f1e86aff7932c7f4a0a76411178c7b494f5433
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sat, 19 Dec 2020 20:31:53 +0100

vim: highlighting for inline pandoc markdown citations

Diffstat:
Mvim/after/syntax/markdown.vim | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/vim/after/syntax/markdown.vim b/vim/after/syntax/markdown.vim @@ -1,5 +1,6 @@ syn match markdownError "\w\@<=\w\@=" syn match markdownCite "\[@\w\+\]" contains=@NoSpell +syn match markdownCiteInline "@\w\+\( \[[^\]]\+\]\)*" contains=@NoSpell syn match markdownLatex "\\[a-z0-9]\+{\?.*}\?" contains=@NoSpell syn region markdownMathInline start="\(\\\)\@<!\$\(\$\)\@!" end="\$" contains=@NoSpell syn region markdownMathBlock start="\$\$" end="\$\$" contains=@NoSpell @@ -23,4 +24,5 @@ hi def link markdownComment Comment hi def link markdownYaml SpecialComment hi def link markdownAbbrev Define hi def link markdownCite Comment +hi def link markdownCiteInline Comment hi def link markdownLatex Identifier