From: Antoni Kaniowski Date: Wed, 5 Feb 2014 11:03:18 +0000 (+0100) Subject: issue #50 - No spell checking in paragraph text X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/2e99929ab183548a7b66502e7fe972b08d4963bf?ds=inline;hp=--cc issue #50 - No spell checking in paragraph text --- 2e99929ab183548a7b66502e7fe972b08d4963bf diff --git a/syntax/mkd.vim b/syntax/mkd.vim index afc7824..89a6e2a 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -77,7 +77,7 @@ syn match mkdCode /^\s*\n\(\(\s\{8,}[^ ]\|\t\t\+[^\t]\).*\n\)\+/ syn match mkdIndentCode /^\s*\n\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/ contained syn match mkdListItem "^\s*[-*+]\s\+" syn match mkdListItem "^\s*\d\+\.\s\+" -syn region mkdNonListItemBlock start="\n\(\_^\_$\|\s\{4,}[^ ]\|\t+[^\t]\)\@!" end="^\(\s*\([-*+]\|\d\+\.\)\s\+\)\@=" contains=@mkdNonListItem +syn region mkdNonListItemBlock start="\n\(\_^\_$\|\s\{4,}[^ ]\|\t+[^\t]\)\@!" end="^\(\s*\([-*+]\|\d\+\.\)\s\+\)\@=" contains=@mkdNonListItem, @Spell syn match mkdRule /^\s*\*\s\{0,1}\*\s\{0,1}\*$/ syn match mkdRule /^\s*-\s\{0,1}-\s\{0,1}-$/ syn match mkdRule /^\s*_\s\{0,1}_\s\{0,1}_$/