Syntax file for jQuery in ViM
Vim script
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead of nono:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ftdetect
syntax
MIT-LICENSE
README.md

README.md

Vim syntax for jQuery

It currently detects syntax and keywords for jQuery 1.6.

About

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. See http://jquery.com/ for more details.

The syntax file for Vim add some colorations for jQuery keywords (empty, clone, hasClass, hide, show, animate, ...) and for CSS selectors (:empty, :hidden, :selected, :first, ...).

Install

Use Vundle to install. Just add Bundle 'scottmcginness/vim-jquery' to your .vimrc, then run :BundleInstall within vim.

Credits

Copyright (c) 2011 Bruno Michel bmichel@menfin.info, released under the MIT license