May 24, 2012
jscomplete-vim is the modern complement Vim plugin for JavaScript guys.
Set jscomplete#CompleteJS to omnifunc in your .vimrc like this.
autocmd FileType javascript setlocal omnifunc=jscomplete#CompleteJS
Then available auto complement properties after ., [ keywords.
neocomplcache is the Vim plugin to keyword completion. No more is necessary to basically using.
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']
dom: Adding DOM keywords completion.moz: Adding Mozilla JavaScript keywords completion.dom: Adding Mozilla XPCOM component keywords completion.All contents by Ryuichi Okumura. You can subscribe to the feed of this site. Unless otherwise noted, this site is licensed under a Creative Commons License.