Skip to content

Commit

Permalink
feat: added localleader-i to inspect a plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 27, 2024
1 parent 9c8e7a4 commit 2e1167d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/lazy/core/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 2e1167d

Please sign in to comment.