Files
dots/home/editors/nvim/plugins/utils/snacks/default.nix
2025-12-17 13:17:39 +01:00

31 lines
539 B
Nix

{
imports = [./dashboard.nix];
plugins.snacks = {
enable = true;
settings = {
bigfile.enabled = true;
notifier = {
enabled = true;
timeout = 3000;
};
bufdelete.enabled = true;
image.enabled = true;
quickfile.enabled = true;
rename.enabled = true;
};
};
extraConfigLuaPre =
# lua
''
if vim.env.PROF then
require("snacks.profiler").startup {
startup = {
event = "VimEnter",
},
}
end
'';
}