Variable: c-ts-common-list-indent-style

c-ts-common-list-indent-style is a variable defined in c-ts-common.el.gz.

Value

align

Documentation

Instructs c-ts-common-baseline-indent-rule how to indent lists.

If the value is align, indent lists like this:

const a = [
           1, 2, 3
           4, 5, 6,
          ];

If the value is simple, indent lists like this:

const a = [
  1, 2, 3,
  4, 5, 6,
];

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-common.el.gz
;;; Baseline indent rule

(defvar c-ts-common-list-indent-style 'align
  "Instructs `c-ts-common-baseline-indent-rule' how to indent lists.

If the value is `align', indent lists like this:

const a = [
           1, 2, 3
           4, 5, 6,
          ];

If the value is `simple', indent lists like this:

const a = [
  1, 2, 3,
  4, 5, 6,
];")