diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:56:53 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:56:53 +0200 |
| commit | 0f6cee92221dc517bd756083e260dd9373851b82 (patch) | |
| tree | c6d929fa5832d17a2d1fe3c85744bae7621ed447 /common/nvim/lua/plugins/notify.lua | |
| parent | 3cf613ec7c90ab4933728b0f19e49b0c955c17bb (diff) | |
| download | dotfiles-0f6cee92221dc517bd756083e260dd9373851b82.tar.gz dotfiles-0f6cee92221dc517bd756083e260dd9373851b82.zip | |
Moved files to common/
Diffstat (limited to 'common/nvim/lua/plugins/notify.lua')
| -rwxr-xr-x | common/nvim/lua/plugins/notify.lua | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/common/nvim/lua/plugins/notify.lua b/common/nvim/lua/plugins/notify.lua deleted file mode 100755 index 62a8f47..0000000 --- a/common/nvim/lua/plugins/notify.lua +++ /dev/null @@ -1,36 +0,0 @@ -local M = {} - -function M.setup() - local ok, notify = pcall(require, 'notify') - if not ok or not notify then - return false - end - - notify.setup({ - background_colour = '#000000', - icons = { - ERROR = '', - WARN = '', - INFO = '', - DEBUG = '', - TRACE = '✎', - } - }) - - -- Set highlight groups safely - local function set_hl(group, link) - vim.cmd(('hi default link %s %s'):format(group, link)) - end - - set_hl('NotifyERRORBody', 'Normal') - set_hl('NotifyWARNBody', 'Normal') - set_hl('NotifyINFOBody', 'Normal') - set_hl('NotifyDEBUGBody', 'Normal') - set_hl('NotifyTRACEBody', 'Normal') - set_hl('NotifyLogTime', 'Comment') - set_hl('NotifyLogTitle', 'Special') - - return true -end - -return M |
