plenary.nvim
plenary.nvim copied to clipboard
Popup callback
During popup creation it is possible to pass in the callback option but when executing it it throws:
E5108: Error executing lua [string ":lua"]:1: module 'popup' not found:
local options = { 'bla bla', 'bleble' }
local win_id = popup.create(options, {
title = "Module",
line = 0,
col = 0,
width = 50,
border = {},
callback = function(id, row) print(row) end
})
I solved this by just adding "plenary." to popup/init.lua :425
Is this something to do with my setup?
Thanks and keep the good work.