vim-jinja2-syntax


Ⅰ. 插件描述

An up-to-date jinja2 syntax file.

Ⅱ. 基本信息

创建日期:  2011-12-17
使用用户:  3
Github星:  0
插件作者:  Isaac Cook

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This is the latest version of the Jinja2 syntax file for vim with the ability to detect either HTML or Jinja.

There are two reasons I made this repository:

  • The version of this vim addon is out-of-date on vimscripts.
  • I wanted to manage this syntax file with vim-addons-manager or whatever other vim plugins managers there are.

The current version is the 2013-04-23 version from the official jinja repository.
If you notice there is a newer version available please message me.

If you have bugs or pull requests, please submit them straight to the source.

添加新评论