nvim-telescope / telescope-frecency.nvim

A telescope.nvim extension that offers intelligent prioritization when selecting files from your editing history.
MIT License
697 stars 35 forks source link

Call `load()` asynchronously at the first time #141

Closed delphinus closed 10 months ago

delphinus commented 10 months ago

The first call of Native.new(), it waits until load() is finished, and opens telescope.

https://github.com/nvim-telescope/telescope-frecency.nvim/blob/fbda5d91d6e787f5977787fa4a81da5c8e22160a/lua/frecency/database/native.lua#L34-L36

It can be asynchronous and open telescope in loading.