From e5c44686c056e4ef7b937b308f77f7717fbdbd6a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 1 Jun 2012 15:31:13 +1200 Subject: Quick and dirty fix for Markdown highlighting --- vim/after/syntax/markdown.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 vim/after/syntax/markdown.vim (limited to 'vim/after/syntax') diff --git a/vim/after/syntax/markdown.vim b/vim/after/syntax/markdown.vim new file mode 100644 index 00000000..071d5449 --- /dev/null +++ b/vim/after/syntax/markdown.vim @@ -0,0 +1,9 @@ +" +" Fix list definitions until I have time to figure out how to stop them +" applying to within code blocks and can suggest it to the maintainer. +" +syn clear markdownListMarker +syn match markdownListMarker "[-*+]\%(\s\+\S\)\@=" contained +syn clear markdownOrderedListMarker +syn match markdownOrderedListMarker "\<\d\+\.\%(\s*\S\)\@=" contained + -- cgit v1.2.3