feat(ui): show any helps files and added hover handler

This commit is contained in:
Folke Lemaitre 2022-12-03 21:07:11 +01:00
parent 6e44be0f2d
commit 13b5688487
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 6 additions and 0 deletions

View file

@ -155,6 +155,7 @@ function M.show(mode)
local plugin = get_plugin()
Util.open(plugin.dir .. "/README.md")
end,
["|(%S-)|"] = vim.cmd.help, -- vim help links
["(https?://%S+)"] = function(url)
Util.open(url)
end,