WIP
parent
c499fcebb4
commit
b8e349c4b2
|
|
@ -195,7 +195,7 @@ function M.select()
|
|||
if item then
|
||||
-- vim.fn.chdir(item.dir)
|
||||
-- M.load()
|
||||
vim.print("selected")
|
||||
vim.print(item.session)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -8,9 +8,11 @@ local M = {}
|
|||
|
||||
---Fire an event
|
||||
---@param event string
|
||||
local function fire(event)
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "Persisted" .. event })
|
||||
end
|
||||
-- local function fire(event)
|
||||
-- vim.api.nvim_exec_autocmds("User", { pattern = "Persisted" .. event })
|
||||
-- end
|
||||
|
||||
local fire = persisted.fire
|
||||
|
||||
---Get the selected session from Telescope
|
||||
---@return table
|
||||
|
|
|
|||
Loading…
Reference in New Issue