fix(#3172): live filter exception

This commit is contained in:
Alexander Courtis 2025-08-04 11:49:26 +10:00
parent 65bae44922
commit 02e5c6cce5

View File

@ -161,7 +161,7 @@ end
---@return integer
local function calculate_overlay_win_width(self)
local wininfo = vim.fn.getwininfo(self.explorer.view:get_winnr())[1]
local wininfo = vim.fn.getwininfo(self.explorer.view:get_winid())[1]
if wininfo then
return wininfo.width - wininfo.textoff - #self.prefix