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 declaratio


From: Dmitry Gutov
Subject: bug#8576: 23.2; , js-mode doesn't support multi-line variable declarations
Date: Fri, 06 Jul 2012 03:02:24 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

> When the first var is staring with an offset, like inside a nested
> function or something, this is failing. It feels like the second line
> is indented wrt to coloumn 0 and not wrt to the "var" statement.

I don't see the behavior you describe. With the gist for 24 loaded, this indents fine in js-mode:

function() {
  function() {
    var a = "foo",
        b = "bar";
  }
}

-- Dmitry





reply via email to

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