aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-01 15:31:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-01 15:31:13 +1200
commite5c44686c056e4ef7b937b308f77f7717fbdbd6a (patch)
tree23f78581750e22e1235d7b2c359dad431c5246f9
parentAdd alias for sl (diff)
downloaddotfiles-e5c44686c056e4ef7b937b308f77f7717fbdbd6a.tar.gz
dotfiles-e5c44686c056e4ef7b937b308f77f7717fbdbd6a.zip
Quick and dirty fix for Markdown highlighting
-rw-r--r--vim/after/syntax/markdown.vim9
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
+