local puk = require 'std.puk' local user_command = require 'std.user_command' local notify = puk 'mini.notify' notify.setup {} vim.notify = notify.make_notify { ERROR = { duration = 4242, hl_group = 'DiagnosticError' }, WARN = { duration = 3333, hl_group = 'DiagnosticWarn' }, INFO = { duration = 2222, hl_group = 'DiagnosticInfo' }, DEBUG = { duration = 1111, hl_group = 'DiagnosticHint' }, TRACE = { duration = 0, hl_group = 'DiagnosticOk' }, OFF = { duration = 0, hl_group = 'MiniNotifyNormal' }, } user_command.Notifications 'Show past notifications' ( function() notify.show_history() end )