Skip to content

Commit

Permalink
Reuse notification window for info messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kristijanhusak committed Dec 12, 2024
1 parent 7f89265 commit 0fec59e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/db_ui/notifications.vim
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ function! s:notification_nvim_notify(msg, opts) abort
if get(a:opts, 'delay')
let opts.timeout = { 'timeout': a:opts.delay }
endif
if (type ==? 'info')
let opts.id = 'vim-dadbod-ui-info'
let opts.replace = 'vim-dadbod-ui-info'
endif

let log_levels = {
\ 'info': luaeval("vim.log.levels.INFO"),
Expand Down

0 comments on commit 0fec59e

Please sign in to comment.