Skip to content

Commit 2e1167d

Browse files
committed
feat: added localleader-i to inspect a plugin
1 parent 9c8e7a4 commit 2e1167d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lua/lazy/core/config.lua

+10
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,16 @@ M.defaults = {
120120
desc = "Open lazygit log",
121121
},
122122

123+
["<localleader>i"] = {
124+
function(plugin)
125+
Util.notify(vim.inspect(plugin), {
126+
title = "Inspect " .. plugin.name,
127+
lang = "lua",
128+
})
129+
end,
130+
desc = "Inspect Plugin",
131+
},
132+
123133
["<localleader>t"] = {
124134
function(plugin)
125135
require("lazy.util").float_term(nil, {

0 commit comments

Comments
 (0)