diff --git a/lua/legendary/extensions/lazy_nvim.lua b/lua/legendary/extensions/lazy_nvim.lua index 220df25..d239f20 100644 --- a/lua/legendary/extensions/lazy_nvim.lua +++ b/lua/legendary/extensions/lazy_nvim.lua @@ -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