plugins.parinfer-rust.settings
The configuration options for parinfer-rust without the parinfer_
prefix.
For example, the following settings are equivialent to these :setglobal
commands:
foo_bar = 1
->:setglobal parinfer_foo_bar=1
hello = "world"
->:setglobal parinfer_hello="world"
some_toggle = true
->:setglobal parinfer_some_toggle
other_toggle = false
->:setglobal noparinfer_other_toggle
Type: attribute set of anything
Default:
{ }
Example:
{
callback = {
__raw = ''
function()
print('nixvim')
end
'';
};
foo_bar = 42;
hostname = "localhost:8080";
}
Declared by:
plugins.parinfer-rust.settings.force_balance
In smart mode and indent mode, parinfer will sometimes leave unbalanced brackets around the
cursor and fix them when the cursor moves away.
When this option is set to true
, the brackets will be fixed immediately (and fixed again
when text is inserted).
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.parinfer-rust.settings.mode
The mode used to process buffer changes.
Type: null or one of “smart”, “indent”, “paren” or raw lua code
Default:
null
Plugin default: "smart"
Declared by: