vim-jinja2-syntax


Ⅰ. 插件描述

An up-to-date jinja2 syntax file.

Ⅱ. 基本信息

创建日期:  2011-12-17
使用用户:  3
Github星:  1
插件作者:  Val Markovic

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/valloric/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.

This repository may not have the exact latest version of the jinja2 syntax file. If you notice it is out-of-date please message me.

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

添加新评论