local puk = require 'std.puk' local map = require 'std.map' local user_command = require 'std.user_command' puk.defer 'mini.notify' ( function ( notify ) notify.setup { lsp_progress = { enable = true, duration_last = 1000, }, window = { winblend = 25, config = function() local has_statusline = vim.o.laststatus > 0 local pad = vim.o.cmdheight + (has_statusline and 1 or 0) return { anchor = 'SE', col = vim.o.columns, row = vim.o.lines - pad } end, }, } vim.notify = notify.make_notify() user_command.NotifyHistory 'Show notification history' ( function () notify.show_history() end ) map.normal { keys = 'nn', command = function() notify.show_history() end, description = 'show notification history', category = 'notify', } end )