vim-markdown icon indicating copy to clipboard operation
vim-markdown copied to clipboard

No spell checking in paragraph text.

Open qazwsxpawel opened this issue 13 years ago • 5 comments

With :syntax on setting, paragraphs/running text are not spell checked by vim spell. On the other hand spell checking for e.g. lists (starting with *, - , etc.) works fine.

qazwsxpawel avatar Oct 29 '13 11:10 qazwsxpawel

Adding @Spell at the end of line 77 in syntax/mkd.vim solves this issue for me. This is how line 77 looks now: syn region mkdNonListItemBlock start="\n\(\_^\_$\|\s\{4,}[^ ]\|\t+[^\t]\)\@!" end="^\(\s*\([-*+]\|\d\+\.\)\s\+\)\@=" contains=@mkdNonListItem, @Spell Maybe someone more knowledgeable than me can point to a better solution or confirm that this is the way to go?

qazwsxpawel avatar Oct 29 '13 11:10 qazwsxpawel

This solved it for me too.

hugoroy avatar Dec 20 '13 11:12 hugoroy

The fix worked for me too.

@qazwsxpawel why did you close and then reopen? Did the fix affect something else?

If all is fine, will you make the pull request? Thanks.

cirosantilli avatar Jan 18 '14 09:01 cirosantilli

I added a pull request here: https://github.com/plasticboy/vim-markdown/pull/65

97-109-107 avatar Feb 05 '14 11:02 97-109-107

Closing as resolved.

cirosantilli avatar Jul 08 '14 07:07 cirosantilli