Vim Tips Wiki


1,624pages on
this wiki
Add New Page

Use this page to discuss script 2727 jsbeautify: javascript source code formatter

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


I have problem with numbers like 2e-9 => 2e - 9 so I made a little fix at (uncommented lines with fixed regexp).


To use 2 spaces instead of a tab for indenting. Change line#295 to => let s:opt_indent_char = " "


--April 6, 2012
What is the above for? Perhaps remove that comment? JohnBeckett 03:54, April 6, 2012 (UTC)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki