diff --git a/lua/custom/plugins/hardtime.lua b/lua/custom/plugins/hardtime.lua index 1119b6dc..5731103d 100644 --- a/lua/custom/plugins/hardtime.lua +++ b/lua/custom/plugins/hardtime.lua @@ -2,5 +2,9 @@ return { 'm4xshen/hardtime.nvim', lazy = false, dependencies = { 'MunifTanjim/nui.nvim' }, - opts = {}, + opts = { + disabled = false, + max_time = 5000, + notification = true, + }, } diff --git a/lua/custom/plugins/notify.lua b/lua/custom/plugins/notify.lua index 60c3721d..ecfbb17a 100644 --- a/lua/custom/plugins/notify.lua +++ b/lua/custom/plugins/notify.lua @@ -1,6 +1,14 @@ return { 'rcarriga/nvim-notify', - lazy = false, - dependencies = { 'MunifTanjim/nui.nvim' }, - opts = {}, + config = function() + require('notify').setup { + background_colour = '#000000', + stages = 'fade', + timeout = 500, + render = 'wrapped-compact', + } + + -- MUST be after setup + vim.notify = require 'notify' + end, }