quicktemplate.vim


Ⅰ. 插件描述

Better Vim syntax highlighting for Quicktemplate

Ⅱ. 基本信息

创建日期:  2018-01-14
使用用户:  1
Github星:  2
插件作者:  Maddison Hellstrom

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# quicktemplate.vim :rocket:

Better Vim syntax highlighting for Quicktemplate

Quicktemplate is a compiled templating engine for Go.

It has a unique syntax where all top-level text is considered a comment by default,
and directives wrapped in pairs of {% %} are used to specify desired behavior.

Many of these directives allow for embedded HTML or Go code, making good syntax
highlighting support vital for effective and efficient development of templates.

quicktemplate.vim Screenshot

Installation

Use your favorite plugin manager such as Vundle,
Pathogen, or Dein.

quicktemplate.vim depends on an external plugin called builder.vim, which you must
also install.

Using Dein:

call dein#add('b0o/builder.vim')
call dein#add('b0o/quicktemplate.vim', {'depends': 'b0o/builder.vim'})

License

© 2018 Maddison Hellstrom. Released under the MIT License.

添加新评论