Skip to content

Commit

Permalink
fix: missing argument for function (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspreetpanesar authored Mar 17, 2024
1 parent 60404ba commit 889028b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/fidget/notification/window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function M.get_editor_dimensions()
local statusline_height = 0
local laststatus = vim.opt.laststatus:get()
if laststatus == 2 or laststatus == 3
or (laststatus == 1 and #vim.api.nvim_tabpage_list_wins() > 1)
or (laststatus == 1 and #vim.api.nvim_tabpage_list_wins(0) > 1)
then
statusline_height = 1
end
Expand Down

0 comments on commit 889028b

Please sign in to comment.