dotfiles

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

commit ddc63451399dff4737949ede47ba7a1f3b422057
parent f0ba2b6eae53108aacc205ecf73071cd988f589e
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Tue, 12 May 2020 15:23:53 +0200

vim: markdown comment todo highlighting

Former-commit-id: f8ce3a7efb4f55ee6eb98b7d1c8dd436dd1200aa
Diffstat:
Mvim/after/syntax/markdown.vim | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/vim/after/syntax/markdown.vim b/vim/after/syntax/markdown.vim @@ -3,9 +3,10 @@ syn match markdownCite "\[@\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 -syn region markdownComment start="<!--" end="-->" contains=@NoSpell +syn region markdownComment start="<!--" end="-->" contains=@NoSpell,Todo +syn keyword Todo FIXME TODO contained -unlet b:current_syntax +unlet! b:current_syntax syntax include @YAML syntax/yaml.vim " Deciding to only keep yaml blocks at start of buffer, otherwise <hr> would be counted as start of yaml " syn region markdownYaml matchgroup=SpecialComment keepend start="\(\%^\|^\s*\)---$" end="^\(-\|\.\)\{3\}$" contains=@YAML