mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2026-02-04 06:42:06 +00:00
fix: do not load frecency in Neovim starting (#237)
This commit is contained in:
committed by
GitHub
parent
25d01edae8
commit
7303f126c7
@@ -63,7 +63,10 @@ local function setup(ext_config)
|
||||
group = group,
|
||||
---@param args { buf: integer }
|
||||
callback = function(args)
|
||||
local is_floatwin = vim.api.nvim_win_get_config(0).relative ~= ""
|
||||
if vim.api.nvim_buf_get_name(args.buf) == "" then
|
||||
return
|
||||
end
|
||||
local is_floatwin = vim.api.nvim_win_get_config(args.buf).relative ~= ""
|
||||
if not is_floatwin then
|
||||
frecency.register(args.buf)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user