Update Lumentis links

This commit is contained in:
Thomas Avé 2023-11-07 16:14:28 +01:00
parent caef18ce13
commit fd3ea440c5
1 changed files with 1 additions and 2 deletions

View File

@ -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