mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
* refactor: unite logic for finder & async_finder * chore: fix types * chore: add sleep to show results at first * refactor: fix to find results separatedly * test: remove unnecessary ones and fix others * test: add matrix for 0.9.x & Windows * test: use forked plenary.log for Windows * test: fix to use strptime in Windows * test: run again if segmentation fault in Windows * test: loosen timeout for Perl * test: use the latest plenary.nvim again * chore: fix types * chore: change variable name * feat: watch changes of DB to reload * chore: add comments to steps * test: copy whole modules for testing in Windows * fix: make valid paths for Windows * test: add tests for Native * test: use robust way to calculate time vim.fn.strptime cannot be used in Lua loop * chore: fix comments * refactor: simplify the code * test: loosen condition to detect failures * test: disable some logging Many loggings make the test fail. * test: run tests sequentially in Windows * test: loosen timeout not to fail on Windows
14 lines
449 B
Lua
14 lines
449 B
Lua
if not vim.env.PLENARY_PATH then
|
|
error "set $PLENARY_PATH to find plenary.nvim"
|
|
end
|
|
if not vim.env.TELESCOPE_PATH then
|
|
error "set $TELESCOPE_PATH to find telescope.nvim"
|
|
end
|
|
if not vim.env.SQLITE_PATH then
|
|
error "set $SQLITE_PATH to find telescope.nvim"
|
|
end
|
|
vim.opt.runtimepath:append(vim.env.PLENARY_PATH)
|
|
vim.opt.runtimepath:append(vim.env.TELESCOPE_PATH)
|
|
vim.opt.runtimepath:append(vim.env.SQLITE_PATH)
|
|
vim.cmd.runtime "plugin/plenary.vim"
|