nix-community.nixvim/tests/test-sources/plugins/utils/scope.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
613 B
Nix
Raw Normal View History

2024-08-31 11:25:17 -04:00
{
empty = {
plugins.scope.enable = true;
};
defaults = {
plugins.scope = {
enable = true;
settings.hooks = {
pre_tab_enter = null;
post_tab_enter = null;
pre_tab_leave = null;
post_tab_leave = null;
pre_tab_close = null;
post_tab_close = null;
};
};
};
example = {
plugins.scope = {
enable = true;
settings = {
hooks = {
pre_tab_enter.__raw = ''
function()
print("Example hook, about to enter tab")
end
'';
};
};
};
};
}