bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8576: 23.2; js-mode doesn't support multi-line variable declarations


From: Dmitry Gutov
Subject: bug#8576: 23.2; js-mode doesn't support multi-line variable declarations
Date: Fri, 24 Feb 2012 06:16:32 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Here is a function I wrote to properly indent multiline declarations in another package:

https://github.com/mooz/js2-mode/blob/master/js2-mode.el#L9917

It is kinda ugly, but it's been working reliably for me for some time now, and it doesn't rely on anything specific to js2-mode.

I have a CA signed, so it's fair game.

Dmitry.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]