Wikia

Vim Tips Wiki

Script:2727

Talk0
1,610pages on
this wiki
Revision as of 09:47, July 14, 2012 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

FixesEdit

I have problem with numbers like 2e-9 => 2e - 9 so I made a little fix at http://gist.github.com/491988 (uncommented lines with fixed regexp).

CommentsEdit

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


function(){alert(a);}

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

Around Wikia's network

Random Wiki