Skip to content

Commit

Permalink
silence autosizing
Browse files Browse the repository at this point in the history
  • Loading branch information
dotrakoun-clearstreet committed Sep 25, 2023
1 parent d9ea424 commit 3524c6c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions nvim/lua/dko/behaviors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,7 @@ autocmd("WinLeave", {
autocmd("VimResized", {
desc = "Automatically resize windows in all tabpages when resizing Vim",
callback = function()
local ok, notify = pcall(require, "notify")
if ok then
notify.dismiss({ silent = true, pending = true })
end
vim.schedule(function()
notify("autosizing", vim.log.levels.INFO, { render = "compact" })
vim.cmd("tabdo wincmd =")
end)
end,
Expand Down

0 comments on commit 3524c6c

Please sign in to comment.