aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+