mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
Add example Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> Add example to test as well
37 lines
727 B
Nix
37 lines
727 B
Nix
{
|
|
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
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|