mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
fix: use 0 as the current winid (#238)
This commit is contained in:
parent
7303f126c7
commit
39f70a87a2
@ -66,7 +66,7 @@ local function setup(ext_config)
|
||||
if vim.api.nvim_buf_get_name(args.buf) == "" then
|
||||
return
|
||||
end
|
||||
local is_floatwin = vim.api.nvim_win_get_config(args.buf).relative ~= ""
|
||||
local is_floatwin = vim.api.nvim_win_get_config(0).relative ~= ""
|
||||
if not is_floatwin then
|
||||
frecency.register(args.buf)
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user