A much clamored-for feature has been implemented for js3-mode.

Now with the default settings (js3-consistent-level-indent-inner-
bracket set to nil) functions tend to get indented the way you want
them to in common cases.  For example, function bodies following lines
starting with `;(function` are indented only one step, and the same
with `var fname = function`.

As usual, get the latest by cloning at https://github.com/thomblake/js3-mode
and run bin/build to compile.

bonus undocumented experiment: js3-pretty-print-no-indent (creates a
buffer called js3-temp)

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to