feat: added localleader-i to inspect a plugin

This commit is contained in:
Folke Lemaitre 2024-06-27 11:30:29 +02:00
parent 9c8e7a4840
commit 2e1167df4a
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 10 additions and 0 deletions

View File

@ -120,6 +120,16 @@ M.defaults = {
desc = "Open lazygit log",
},
["<localleader>i"] = {
function(plugin)
Util.notify(vim.inspect(plugin), {
title = "Inspect " .. plugin.name,
lang = "lua",
})
end,
desc = "Inspect Plugin",
},
["<localleader>t"] = {
function(plugin)
require("lazy.util").float_term(nil, {