2016-02-20 13:13:10 +00:00
|
|
|
# vim-pug #
|
2016-01-05 18:18:45 +00:00
|
|
|
|
2016-02-20 13:13:10 +00:00
|
|
|
Vim syntax highlighting for Pug (formerly Jade) templates.
|
2016-01-05 18:18:45 +00:00
|
|
|
|
2017-02-11 13:01:38 +00:00
|
|
|
For best results consider using this with an (improved) HTML5 syntax plugin.
|
|
|
|
|
2016-01-05 18:18:45 +00: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 13:13:10 +00:00
|
|
|
git clone git://github.com/digitaltoad/vim-pug.git
|
2016-01-05 18:18:45 +00:00
|
|
|
|
2016-02-20 13:13:10 +00:00
|
|
|
If you do not want to use pathogen. You can always install vim-pug in the
|
2016-01-05 18:18:45 +00: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.
|