gabrielelana / vim-markdown

Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that doesn't suck!
MIT License
741 stars 58 forks source link

Syntax highlighting with trailing non-alphanumeric character #26

Closed tomatic closed 9 years ago

tomatic commented 9 years ago

I think there might be a bug in the syntax highlighting. Whenever I append any kind of non-alphanumeric character to a word, syntax highlighting colors it red and underlines the word (using the xoria256 theme). This is true for !"§$%&/()=? characters and probably othes (haven't tested them all).

Additionally, seemingly random words are highlighted in the same way, e.g. in the spec/features/inline_links.md file "unescaped", "ok", "inline" and others. Is this intentional?

gabrielelana commented 9 years ago

I think it's the spell checker. You could either:

Let me know if this works for you

tomatic commented 9 years ago

Bingo, it was the spell checker. Didn't even know vim one. I just turned it off by putting your second tip in my .vimrc (for future reference: it's "nospell" without the blank).

Thanks!