colhountech / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

add c-mode indentation keys #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Adam de Boor writes:
> I just typed C-M-q to reindent the body of an if that I'd just wrapped
> in an outer if and was horrified to discover it's not bound to
> anything in js2-mode. in C it's bound to `c-indent-exp`, which takes the
> balanced expression after point (e.g. brace-bounded block) and indents
> each line. in case you've got a spare moment.

Need to go through and make sure the default bindings work.  This issue is
depending on adding the beginning-of-defun etc. support.

Original issue reported on code.google.com by steve.ye...@gmail.com on 15 Apr 2008 at 10:59