mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
* I did an overhall for all codes and added typing by Lua-language-server and tests. It also works on CI. * Now it searches files on the workspace completely asynchronously. It does not block your text input. (Fix #106) Make count = 1 when you open a file you've never opened (Fix #107)
15 lines
480 B
Lua
15 lines
480 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.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"
|