Navigation Menu

Skip to content

Commit

Permalink
Now correctly matches multiparagraph lists. Closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Ingram authored and Hallison Batista committed Feb 21, 2011
1 parent 8203016 commit 2d25b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax/markdown.vim
Expand Up @@ -63,9 +63,9 @@ syntax match mkdRule /^\s*-\s\{0,1}-\s\{0,1}-$/
syntax match mkdRule /^\s*_\s\{0,1}_\s\{0,1}_$/
syntax match mkdRule /^\s*-\{3,}$/
syntax match mkdRule /^\s*\*\{3,5}$/
syntax match mkdListItem "^\s*[-*+]\s\+"
syntax match mkdListItem /^\s*[-*+]\s\+.*\n\(\(^\(\s\{4}\|\t\)\+.*\n\)\|\(.\+\n\)*\)*/
syntax match mkdListItem "^\s*\d\+\.\s\+"
syntax match mkdCode /^\s*\n\(\(^\s\{4}\|^\t\).*\n\)\+/
syntax match mkdCode /^\s*\n\(^\(\s\{4}\|\t\).*\n\)\+/
syntax match mkdLineBreak / \+$/
syntax region mkdCode start=/\\\@<!`/ end=/\\\@<!`/
syntax region mkdCode start=/\s*``[^`]*/ end=/[^`]*``\s*/
Expand Down

0 comments on commit 2d25b04

Please sign in to comment.