vim-pug


Ⅰ. 插件描述

Vim Pug (formerly Jade) template engine syntax highlighting and indention

Ⅱ. 基本信息

创建日期:  2010-08-06
使用用户:  383
Github星:  793
插件作者:  Joshua Borton

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'digitaltoad/vim-pug'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'digitaltoad/vim-pug'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'digitaltoad/vim-pug'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/digitaltoad/vim-pug

Ⅳ. 文档说明

# 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.

添加新评论