plugins.autosource.settings
The configuration options for autosource without the autosource_
prefix.
For example, the following settings are equivialent to these :setglobal
commands:
foo_bar = 1
->:setglobal autosource_foo_bar=1
hello = "world"
->:setglobal autosource_hello="world"
some_toggle = true
->:setglobal autosource_some_toggle
other_toggle = false
->:setglobal noautosource_other_toggle
Type: attribute set of anything
Default:
{ }
Example:
{
callback = {
__raw = ''
function()
print('nixvim')
end
'';
};
foo_bar = 42;
hostname = "localhost:8080";
}
Declared by:
plugins.autosource.settings.prompt_for_changed_file
The primary use-case of this option is to support automated testing. When set to false AutoSource will not prompt you when it detects when a file is changed. The file will NOT be sourced.
Type: null or (one of 0, 1) or raw lua code
Default:
null
Plugin default: 1
Declared by:
plugins.autosource.settings.prompt_for_new_file
The primary use-case of this option is to support automated testing. When set to false AutoSource will not prompt you when it detects a new file. The file will NOT be sourced.
Type: null or (one of 0, 1) or raw lua code
Default:
null
Plugin default: 1
Declared by: