diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-06-01 15:31:13 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-06-01 15:31:13 +1200 |
commit | e5c44686c056e4ef7b937b308f77f7717fbdbd6a (patch) | |
tree | 23f78581750e22e1235d7b2c359dad431c5246f9 | |
parent | Add alias for sl (diff) | |
download | dotfiles-e5c44686c056e4ef7b937b308f77f7717fbdbd6a.tar.gz dotfiles-e5c44686c056e4ef7b937b308f77f7717fbdbd6a.zip |
Quick and dirty fix for Markdown highlighting
-rw-r--r-- | vim/after/syntax/markdown.vim | 9 |
1 files changed, 9 insertions, 0 deletions
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 + |