plugins.guess-indent.settings

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

Type: attribute set of anything

Default: { }

Example:

{
  auto_cmd = false;
  filetype_exclude = [
    "markdown"
  ];
  override_editorconfig = true;
}

Declared by:

plugins.guess-indent.settings.auto_cmd

Whether to create autocommand to automatically detect indentation

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.guess-indent.settings.buftype_exclude

Buffer types to ignore indentation detection in

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  "help"
  "nofile"
  "terminal"
  "prompt"
]

Declared by:

plugins.guess-indent.settings.filetype_exclude

Filetypes to ignore indentation detection in

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  "netrw"
  "tutor"
]

Declared by:

plugins.guess-indent.settings.on_space_options

A table of vim options when spaces are detected

Type: null or (attribute set of (anything or raw lua code))

Default: null

Plugin default:

{
  expandtab = true;
  shiftwidth = "detected";
  softtabstop = "detected";
  tabstop = "detected";
}

Declared by:

plugins.guess-indent.settings.on_tab_options

A table of vim options when tabs are detected

Type: null or (attribute set of (anything or raw lua code))

Default: null

Plugin default:

{
  expandtab = false;
}

Declared by:

plugins.guess-indent.settings.override_editorconfig

Whether or not to override indentation set by Editorconfig

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by: