Introduce jscomplete-vim

May 24, 2012

jscomplete-vim is the modern complement Vim plugin for JavaScript guys.

Using as omnifunc

Set jscomplete#CompleteJS to omnifunc in your .vimrc like this.

autocmd FileType javascript setlocal omnifunc=jscomplete#CompleteJS

Then available auto complement properties after ., [ keywords.

Using as neocomplcache plugin

neocomplcache is the Vim plugin to keyword completion. No more is necessary to basically using.

Optional extensions

Extension scripts under the autoload/js/ will be loaded with set list to g:jscomplete_use or b:jscomplete_use in your .vimrc like this.

let g:jscomplete_use = ['dom', 'moz']