fix(ui): notifications appearing on top in unintended situations (#2093)
* fix(ui): notifications appearing on top in unintended situations * fix(ui): increase notification zindex to 175 Co-authored-by: Micah Halter <micah@mehalter.com> --------- Co-authored-by: Micah Halter <micah@mehalter.com>
This commit is contained in:
committed by
Micah Halter
co-authored by
Micah Halter
parent
4dea26277b
commit
a918f876a9
+1
-1
@@ -52,7 +52,7 @@ return {
|
||||
init = function() require("astronvim.utils").load_plugin_with_func("nvim-notify", vim, "notify") end,
|
||||
opts = {
|
||||
on_open = function(win)
|
||||
vim.api.nvim_win_set_config(win, { zindex = 1000 })
|
||||
vim.api.nvim_win_set_config(win, { zindex = 175 })
|
||||
-- close notification immediately if notifications disabled
|
||||
if not vim.g.ui_notifications_enabled then vim.api.nvim_win_close(win, true) end
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user