plugins.sleuth.settings
The configuration options for sleuth without the sleuth_
prefix.
For example, the following settings are equivialent to these :setglobal
commands:
foo_bar = 1
->:setglobal sleuth_foo_bar=1
hello = "world"
->:setglobal sleuth_hello="world"
some_toggle = true
->:setglobal sleuth_some_toggle
other_toggle = false
->:setglobal nosleuth_other_toggle
Type: attribute set of anything
Default:
{ }
Example:
{
gitcommit_heuristics = 0;
heuristics = 1;
no_filetype_indent_on = 1;
}
Declared by:
plugins.sleuth.settings.heuristics
Whether to enable/disable heuristics by default.
You can also disable heuristics for individual filetypes:
settings = {
heuristics = 1;
gitcommit_heuristics = 0;
};
Type: null or (one of 0, 1) or raw lua code
Default:
null
Plugin default: 1
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 (one of 0, 1) or raw lua code
Default:
null
Plugin default: 0
Declared by: