Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Vim syntax for YUI3.
branch: master

This branch is even with rgrove:master

Failed to load latest commit information.
after/syntax Initial commit.
syntax Initial commit.
.gitignore Initial commit. Initial commit.
raw.json Initial commit.
raw2syntax.rb Initial commit.
syntax.erb Initial commit.

Vim Syntax for YUI3

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


  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.


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.

Something went wrong with that request. Please try again.