JavaScript bundle for vim, this bundle provides syntax and indent plugins.
Indentation of javascript in vim is terrible, and this is the very end of it.
- Install with Vundle
If you are not using vundle, you really should have a try. Edit your vimrc:
Bundle "pangloss/vim-javascript"
And install it:
:so ~/.vimrc
:BundleInstall
- Install with pathogen
If you prefer tpope's pathogen, that's ok. Just clone it:
cd ~/.vim/bundle
git clone https://github.com/pangloss/vim-javascript.git
Report a bug on GitHub Issues.