plugins.goyo.settings
The configuration options for goyo without the goyo_
prefix.
For example, the following settings are equivialent to these :setglobal
commands:
foo_bar = 1
->:setglobal goyo_foo_bar=1
hello = "world"
->:setglobal goyo_hello="world"
some_toggle = true
->:setglobal goyo_some_toggle
other_toggle = false
->:setglobal nogoyo_other_toggle
Type: attribute set of anything
Default:
{ }
Example:
{
callback = {
__raw = ''
function()
print('nixvim')
end
'';
};
foo_bar = 42;
hostname = "localhost:8080";
}
Declared by:
plugins.goyo.settings.height
height
Type: null or (unsigned integer, meaning >=0)
Default:
null
Declared by:
plugins.goyo.settings.linenr
Show line numbers when in Goyo mode.
Type: null or (one of 0, 1) or raw lua code
Default:
null
Plugin default: 0
Declared by:
plugins.goyo.settings.width
width
Type: null or (unsigned integer, meaning >=0)
Default:
null
Declared by: