amix / vim-zenroom2

A Vim extension that emulates iA Writer environment when editing Markdown, reStructuredText or text files
254 stars 21 forks source link

Add pandoc syntax support #10

Open apuignav opened 9 years ago

apuignav commented 9 years ago

Since pandoc support is getting better and better, it is quite commonly used to write markdown. Extensions such as vim-pandoc/vim-pandoc introduce a new file type (and syntax) called pandoc. To get some syntax highlighting in zenroom2 from the vim-pandoc/vim-pandoc-syntax plugin, I have added a new function that is loaded only if the filetype is pandoc.