This is a companion plugin of vim-javascript, which provide the keyword highlight of famous js libraries and start to support native methods. This plugin will not try to highlight every method of the libs, it only highlight most frequent used global variables, such as _, $, Backbone, because sometimes the more you see the less you get, we just care the most important stuff here.
Install with Vundle
Plugin 'crusoexia/vim-javascript-lib'
This plugin is designed to work with vim-javascript, so vim-javascript is hard dependency, you must install it to make the plugin works.
- Array methods
Right now the list is:
- underscore / Lo-Dash
- jQuery / Zepto
- Backbone
- angular
- Handlebars / Mustache
- mocha
- AMD
- Q
This plugin will also fix the html attribute highlight issue of original vim.