nix-community.nixvim/tests/test-sources/plugins/by-name/inc-rename/default.nix

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

38 lines
727 B
Nix
Raw Normal View History

{
empty = {
plugins.inc-rename.enable = true;
};
defaults = {
plugins.inc-rename = {
enable = true;
settings = {
cmd_name = "IncRename";
hl_group = "Substitute";
preview_empty_name = false;
show_message = true;
save_in_cmdline_history = true;
input_buffer_type = null;
post_hook = null;
};
};
};
example = {
plugins.inc-rename = {
enable = true;
settings = {
input_buffer_type = "dressing";
preview_empty_name = false;
show_message.__raw = ''
function(msg)
vim.notify(msg, vim.log.levels.INFO, { title = "Rename" })
end
'';
};
};
};
}