Skip to content

Commit

Permalink
chore: remove winclosed
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Jul 8, 2024
1 parent 83ca96f commit 1ce1a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/no-neck-pain/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function N.enable(scope)
desc = "Keeps track of the currently active tab and the tab state",
})

vim.api.nvim_create_autocmd({ "QuitPre", "BufDelete", "WinEnter", "WinClosed" }, {
vim.api.nvim_create_autocmd({ "QuitPre", "BufDelete", "WinEnter" }, {
callback = function(p)
vim.schedule(function()
if not S.isActiveTabRegistered(S) or E.skip(S.getTab(S)) then
Expand Down

0 comments on commit 1ce1a75

Please sign in to comment.