mirror of https://github.com/folke/lazy.nvim.git
feat: added localleader-i to inspect a plugin
This commit is contained in:
parent
9c8e7a4840
commit
2e1167df4a
|
@ -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, {
|
||||
|
|
Loading…
Reference in New Issue