Skip to content

Commit

Permalink
fix: do not skip relative windows on re-route (#418)
Browse files Browse the repository at this point in the history
## 📃 Summary

closes #414

we shouldn't skip registering relative windows, otherwise it would be
re-routed to the exact same window
  • Loading branch information
shortcuts authored Nov 28, 2024
1 parent 572d9a4 commit 6943bc9
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 @@ -332,7 +332,7 @@ function main.enable(scope)
callback = function(p)
vim.schedule(function()
p.event = string.format("%s:skip_entering", p.event)
if not state.is_active_tab_registered(state) or event.skip() then
if not state.is_active_tab_registered(state) then
return log.debug(p.event, "skip")
end

Expand Down

0 comments on commit 6943bc9

Please sign in to comment.