fix(#3172): live filter exception
This commit is contained in:
parent
65bae44922
commit
02e5c6cce5
@ -161,7 +161,7 @@ end
|
|||||||
|
|
||||||
---@return integer
|
---@return integer
|
||||||
local function calculate_overlay_win_width(self)
|
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
|
if wininfo then
|
||||||
return wininfo.width - wininfo.textoff - #self.prefix
|
return wininfo.width - wininfo.textoff - #self.prefix
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user