Skip to content

Commit

Permalink
feat(config): use custom background highlight
Browse files Browse the repository at this point in the history
See #159
  • Loading branch information
rcarriga committed Nov 24, 2022
1 parent 43c54ae commit e7cffd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lua/notify/config/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ local M = {}

function M.setup()
vim.cmd([[
hi default link NotifyBackground Normal
hi default NotifyERRORBorder guifg=#8A1F1F
hi default NotifyWARNBorder guifg=#79491D
hi default NotifyINFOBorder guifg=#4F6752
Expand Down
2 changes: 1 addition & 1 deletion lua/notify/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local default_config = {
max_height = nil,
stages = BUILTIN_STAGES.FADE_IN_SLIDE_OUT,
render = BUILTIN_RENDERERS.DEFAULT,
background_colour = "Normal",
background_colour = "NotifyBackground",
on_open = nil,
on_close = nil,
minimum_width = 50,
Expand Down

0 comments on commit e7cffd0

Please sign in to comment.