Wikia

Vim Tips Wiki

Changes: Script:2727

Edit

Back to page

(What is that for?)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 2: Line 2:
   
 
==Fixes==
 
==Fixes==
I have problem with numbers like <tt>2e-9</tt> => <tt>2e - 9</tt> so I made a little fix at http://gist.github.com/491988 (uncommented lines with fixed regexp).
+
I have problem with numbers like <code>2e-9</code> => <code>2e - 9</code> so I made a little fix at http://gist.github.com/491988 (uncommented lines with fixed regexp).
   
 
==Comments==
 
==Comments==

Latest revision as of 09:47, July 14, 2012

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