Skip to content

Commit

Permalink
fix(labels): winnr checking (closes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
NStefan002 committed Nov 14, 2024
1 parent 34e75cb commit e4f4804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/wormhole/labels.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function M.create_labels()
end, win_ids)

M.create_dummy_buf()
if api.nvim_win_is_valid(M.dummy_buf.winnr) then
if not api.nvim_win_is_valid(M.dummy_buf.winnr) then
return
end

Expand Down

0 comments on commit e4f4804

Please sign in to comment.