Skip to content

Commit

Permalink
fix(layout): update layout on WinNew and WinResized as well
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 1, 2023
1 parent eef534c commit 40077a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/edgy/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function M.setup(opts)
end

local group = vim.api.nvim_create_augroup("layout", { clear = true })
vim.api.nvim_create_autocmd({ "BufWinEnter", "WinClosed", "VimResized" }, {
vim.api.nvim_create_autocmd({ "BufWinEnter", "WinClosed", "VimResized", "WinNew", "WinResized" }, {
group = group,
callback = Layout.update,
})
Expand Down

0 comments on commit 40077a7

Please sign in to comment.