plugins.indent-o-matic.settings

Options provided to the require('indent-o-matic').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  max_lines = 2048;
  skip_multiline = false;
  standard_widths = [
    2
    4
    8
  ];
}

Declared by:

plugins.indent-o-matic.settings.max_lines

Number of lines without indentation before giving up (use -1 for infinite)

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 2048

Declared by:

plugins.indent-o-matic.settings.skip_multiline

Skip multi-line comments and strings (more accurate detection but less performant)

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.indent-o-matic.settings.standard_widths

Space indentations that should be detected

Type: null or (list of (unsigned integer, meaning >=0, or raw lua code))

Default: null

Plugin default: [2 4 8]

Declared by: