I'm using Vim in a terminal on my MacBook Air with OS X Lion, and I can't seem to find a good plugin for Markdown syntax highlighting.
So far I've tried the plasticboy plugin and Tim Pope's plugin. The plasticboy plugin worked OK but was causing white space at the end of lines to be highlighted, and I haven't figured out how to turn that off. (It's really annoying, because every time I hit space
when I'm writing it highlights the character.)
Tim's plugin didn't seem to do very much in the way of highlighting, other than maybe headers that use ###
. Code blocks and bullets are ignored. I might be missing something there. I do use the .md
extension on my Markdown files, so it should be picking up the filetype.
I've also seen a reference to Vim 7.3 having Markdown support built in, but without one of those two plugins I don't get any highlighting at all.
Do either of these require specific color schemes to work?
*.md
is not the right extension for markdown. That one is for modula files. Tpope plugin works fine (all this plugins works fine) You should use the*.markdown
extension – lucapette*.md
, along with:*.markdown,*.mdown,*.mkd,*.mkdn
. The plasticboy plugin auto-detects only*.mkd,*.markdown,*.mdwn
– pb2q.md
as well. I'm locked into this extension for now because I'm using Scriptogr.am for my blog, and that's the only extension they recognize right now. – Josh Earl<br>
tags, so writers should be made aware of that. – Ciro Santilli 新疆再教育营六四事件法轮功郝海东