Skip to content

Commit

Permalink
fix(layout): dont layout when the command-line window is open. Fixes #58
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 21, 2024
1 parent 8355be4 commit d73e42b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/edgy/edgebar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ function M:_update(opts)
end

function M:layout()
-- HACK: don't layout when the command-line window is active
if vim.fn.bufexists("[Command Line]") == 1 then
return
end

if self.stop then
return
end
Expand Down

0 comments on commit d73e42b

Please sign in to comment.