mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
@@ -1450,7 +1450,7 @@ local function InsertLink(opts)
|
||||
actions.close(prompt_bufnr)
|
||||
local selection = action_state.get_selected_entry()
|
||||
local pinfo = Pinfo:new({
|
||||
filepath = selection.filename,
|
||||
filepath = selection.filename or selection.value,
|
||||
opts,
|
||||
})
|
||||
vim.api.nvim_put({ "[[" .. pinfo.title .. "]]" }, "", true, true)
|
||||
|
||||
Reference in New Issue
Block a user