mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
parent
631bf1af1d
commit
880e89eadb
@ -28,10 +28,14 @@ end
|
||||
---This is called when `:Telescope frecency` is called at the first time.
|
||||
---@return nil
|
||||
function Frecency:setup()
|
||||
-- HACK: Wihout this wrapping, it spoils background color detection.
|
||||
-- See https://github.com/nvim-telescope/telescope-frecency.nvim/issues/210
|
||||
vim.defer_fn(function()
|
||||
self:assert_db_entries()
|
||||
if config.auto_validate then
|
||||
self:validate_database()
|
||||
end
|
||||
end, 0)
|
||||
end
|
||||
|
||||
---This can be calledBy `require("telescope").extensions.frecency.frecency`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user