Skip to content

Commit

Permalink
Merge pull request #411 from mrjones2014/mrj/update-lazy-extension
Browse files Browse the repository at this point in the history
fix(extension): Fix lazy.nvim extension API
  • Loading branch information
mrjones2014 authored Oct 17, 2023
2 parents a17bd8f + 104e1f4 commit 76f96aa
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 76f96aa

Please sign in to comment.