vim-yui3


Ⅰ. 插件描述

:skull: Vim syntax for YUI3. Unmaintained.

Ⅱ. 基本信息

创建日期:  2010-09-23
使用用户:  1
Github星:  12
插件作者:  Ryan Grove

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Vim Syntax for YUI3

This is a simple Vim syntax for YUI3 that's meant to augment Yi Zhao's javascript.vim syntax.

Installation

  1. Copy after/syntax/javascript.vim to your ~/.vim/after/syntax/ directory (create the directory if it doesn't exist).
  2. If you aren't already using Yi Zhao's javascript.vim syntax, copy syntax/javascript.vim to your ~/.vim/syntax/ directory.

Contributing

The YUI3 syntax is generated automatically by the raw2syntax.rb script from a YUIDoc raw.json data file. To modify the syntax, edit the syntax.erb template; don't edit the generated syntax file itself.

I know little about vim syntaxes, so this thing can probably be improved. Patches and feedback are very welcome.

添加新评论