We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65bae44 commit 0a7fcdfCopy full SHA for 0a7fcdf
lua/nvim-tree/explorer/live-filter.lua
@@ -161,7 +161,7 @@ end
161
162
---@return integer
163
local function calculate_overlay_win_width(self)
164
- local wininfo = vim.fn.getwininfo(self.explorer.view:get_winnr())[1]
+ local wininfo = vim.fn.getwininfo(self.explorer.view:get_winid())[1]
165
166
if wininfo then
167
return wininfo.width - wininfo.textoff - #self.prefix
0 commit comments