1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/tests/test-sources/plugins/by-name/inc-rename/default.nix
saygo-png 79d53a50e2 tests: use __empty and __raw
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-05 21:26:13 +00:00

37 lines
741 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.__raw = "nil";
post_hook.__raw = "nil";
};
};
};
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
'';
};
};
};
}