Better Javascript Indentation : Vastly improved javascript indentation
script karma |
Rating 140/59,
Downloaded by 5247 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Darrick Wiebe |
|
script type |
indent |
|
description |
This is based off of the indentation script for ruby which is well written and fast. It is nearly perfect but will sometimes miss edge cases. It usually recovers those errors at the end of a block though, so overall even very long files will be largely correct.
Please fork this project at http://github.com/pangloss/vim-javascript to help make it even better.
This script includes Yi Zhao's javascript syntax script v 0.7.7 |
|
install details |
Unzip the file in your .vim directory.
Or to be sure you have the latest version:
git clone git://github.com/pangloss/vim-javascript.git
cd vim-javascript
rake install |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.147.140.23
|