Skip to content

Commit

Permalink
fix(extension): Fix lazy.nvim extension API
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Oct 17, 2023
1 parent a17bd8f commit 104e1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/legendary/extensions/lazy_nvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ return function()

local LazyNvimConfig = require('lazy.core.config')
for _, plugin in pairs(LazyNvimConfig.plugins) do
local keys = plugin._.handlers.keys or {}
local keys = vim.tbl_get(plugin or {}, '_', 'handlers', 'keys') or {}
for _, keymap in pairs(keys) do
if keymap.desc and #keymap.desc > 0 then
-- we don't need the implementation, since
Expand Down

0 comments on commit 104e1f4

Please sign in to comment.