Permalink
Find file
a8a685a Jan 30, 2017
@digitaltoad @izolate @kostacoffee
22 lines (15 sloc) 735 Bytes

vim-pug

Vim syntax highlighting for Pug (formerly Jade) templates.

For best results consider using this with an (improved) HTML5 syntax plugin.

Installation

I prefer to install plugins using Tim Pope's pathogen.vim. Installation using pathogen is quite simple.

cd ~/.vim/bundle
git clone git://github.com/digitaltoad/vim-pug.git

If you do not want to use pathogen. You can always install vim-pug in the normal manner by copying each directory to your ~/.vim directory. Make sure not to overwrite any existing directory of the same name and instead copy only the contents of the source directory to the directory of the same name in your ~/.vim directory.