mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-09-24 19:18:55 +02:00
make info notifications mini
This commit is contained in:
parent
cc0ad9602d
commit
df0e6c1ffb
1 changed files with 2 additions and 4 deletions
|
@ -5,10 +5,8 @@
|
|||
:cmp.entry.get_documentation])
|
||||
|
||||
(fn show-mini? [notif]
|
||||
(and notif.opts (or ;; DAP notifs
|
||||
(= notif.opts.title :DAP)
|
||||
;; MZTE-NV notifications
|
||||
notif.opts.mzte_nv_mini)))
|
||||
(or ;; INFO level
|
||||
(= notif.level :info) (and notif.opts notif.opts.mzte_nv_mini)))
|
||||
|
||||
(noice.setup {:messages {:view :mini}
|
||||
:lsp {:override (collect [_ o (ipairs overrides)] (values o true))}
|
||||
|
|
Loading…
Reference in a new issue