2016-02-20 08:13:10 -05:00
|
|
|
# vim-pug #
|
2016-01-05 13:18:45 -05:00
|
|
|
|
2016-02-20 08:13:10 -05:00
|
|
|
Vim syntax highlighting for Pug (formerly Jade) templates.
|
2016-01-05 13:18:45 -05:00
|
|
|
|
2017-02-11 08:01:38 -05:00
|
|
|
For best results consider using this with an (improved) HTML5 syntax plugin.
|
|
|
|
|
2016-01-05 13:18:45 -05:00
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
I prefer to install plugins using Tim Pope's
|
|
|
|
[pathogen.vim](https://github.com/tpope/vim-pathogen). Installation using
|
|
|
|
pathogen is quite simple.
|
|
|
|
|
|
|
|
cd ~/.vim/bundle
|
2016-02-20 08:13:10 -05:00
|
|
|
git clone git://github.com/digitaltoad/vim-pug.git
|
2016-01-05 13:18:45 -05:00
|
|
|
|
2016-02-20 08:13:10 -05:00
|
|
|
If you do not want to use pathogen. You can always install vim-pug in the
|
2016-01-05 13:18:45 -05:00
|
|
|
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.
|