Files
DCGOS/home/nixvim/plugins/ui/precognition.nix
2025-09-21 15:54:31 +08:00

30 lines
506 B
Nix

{
plugins.precognition = {
enable = true;
settings = {
startVisible = false;
};
};
keymaps = [
{
mode = "n";
key = "<leader>up";
action.__raw = ''
function()
if require("precognition").toggle() then
vim.notify("Precognition on")
else
vim.notify("Precognition off")
end
end
'';
options = {
desc = "Precognition Toggle";
silent = true;
};
}
];
}