all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 536a976e86e8ed8c6caafd8a28597eb2853bc8df 545 bytes (raw)
name: test/indent/js-indent-init-dynamic.js 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
var foo = function() {
  return 7;
};

var foo = function() {
      return 7;
    },
    bar = 8;

var foo = function() {
      return 7;
    },
    bar = function() {
      return 8;
    };

// Local Variables:
// indent-tabs-mode: nil
// js-indent-level: 2
// js-indent-first-init: dynamic
// End:

// The following test intentionally produces a scan error and should
// be placed below all other tests to prevent awkward indentation.
// (It still thinks it's within the body of a function.)

var foo = function() {
  return 7;
  ,
  bar = 8;

debug log:

solving 536a976e86e8ed8c6caafd8a28597eb2853bc8df ...
found 536a976e86e8ed8c6caafd8a28597eb2853bc8df in https://git.savannah.gnu.org/cgit/emacs.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.