mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
fix: deal with the case called with no opts (#113)
This commit is contained in:
parent
1f32091e2b
commit
0615dd6343
@ -89,9 +89,10 @@ function Frecency:setup()
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
---@param opts FrecencyPickerOptions
|
---@param opts FrecencyPickerOptions?
|
||||||
---@return nil
|
---@return nil
|
||||||
function Frecency:start(opts)
|
function Frecency:start(opts)
|
||||||
|
opts = opts or {}
|
||||||
self.picker = Picker.new(self.database, self.finder, self.fs, self.recency, {
|
self.picker = Picker.new(self.database, self.finder, self.fs, self.recency, {
|
||||||
default_workspace_tag = self.config.default_workspace,
|
default_workspace_tag = self.config.default_workspace,
|
||||||
editing_bufnr = vim.api.nvim_get_current_buf(),
|
editing_bufnr = vim.api.nvim_get_current_buf(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user