mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-12 04:52:53 +01: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])
|
:cmp.entry.get_documentation])
|
||||||
|
|
||||||
(fn show-mini? [notif]
|
(fn show-mini? [notif]
|
||||||
(and notif.opts (or ;; DAP notifs
|
(or ;; INFO level
|
||||||
(= notif.opts.title :DAP)
|
(= notif.level :info) (and notif.opts notif.opts.mzte_nv_mini)))
|
||||||
;; MZTE-NV notifications
|
|
||||||
notif.opts.mzte_nv_mini)))
|
|
||||||
|
|
||||||
(noice.setup {:messages {:view :mini}
|
(noice.setup {:messages {:view :mini}
|
||||||
:lsp {:override (collect [_ o (ipairs overrides)] (values o true))}
|
:lsp {:override (collect [_ o (ipairs overrides)] (values o true))}
|
||||||
|
|
Loading…
Reference in a new issue