Update Lumentis links
This commit is contained in:
parent
caef18ce13
commit
fd3ea440c5
nvim/lua
|
@ -6,7 +6,7 @@ local conf = require("telescope.config").values
|
|||
|
||||
local wiki_utils = {}
|
||||
|
||||
local root_path = '/home/user/Workspace/DnD/Lumentis Campaign Setting'
|
||||
local root_path = '/home/server/Workspace/DnD/Lumentis Campaign Setting'
|
||||
|
||||
local function get_title(file)
|
||||
for line in io.lines(file) do
|
||||
|
@ -30,7 +30,6 @@ local choose_link = function(opts, titles, links)
|
|||
actions.select_default:replace(function()
|
||||
actions.close(prompt_bufnr)
|
||||
local selection = action_state.get_selected_entry()
|
||||
-- print(vim.inspect(selection['index']))
|
||||
vim.api.nvim_put({ links[selection['index']] }, "", false, true)
|
||||
end)
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue