plugins.sleuth.settings

The configuration options for sleuth without the sleuth_ prefix.

Example: To set sleuth_foo_bar to 1, write

  settings = {
    foo_bar = true;
  };

Type: attribute set of anything

Default: { }

Example:

{
  gitcommit_heuristics = false;
  heuristics = true;
  no_filetype_indent_on = true;
}

Declared by:

plugins.sleuth.settings.heuristics

Whether to enable/disable heuristics by default.

You can also disable heuristics for individual filetypes:

  settings = {
    heuristics = true;
    gitcommit_heuristics = false;
  };

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.sleuth.settings.no_filetype_indent_on

Sleuth forces |:filetype-indent-on| by default, which enables file-type specific indenting algorithms and is highly recommended.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by: