mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2026-02-04 06:42:06 +00:00
fix: use 0 as the current winid (#238)
This commit is contained in:
committed by
GitHub
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
|
||||
|
||||
Reference in New Issue
Block a user