Skip to content

Commit

Permalink
Merge pull request #410 from mrjones2014/mrj/update-lazy-extension
Browse files Browse the repository at this point in the history
chore(extension): Refactor lazy.nvim extension per folke's suggestion
  • Loading branch information
mrjones2014 authored Oct 17, 2023
2 parents bf39c4a + ae4dabc commit a17bd8f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/legendary/extensions/lazy_nvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ return function()
end

local LazyNvimConfig = require('lazy.core.config')
local Handler = require('lazy.core.handler')
local Plugin = require('lazy.core.plugin')
for _, plugin in pairs(LazyNvimConfig.plugins) do
local keys = Handler.handlers.keys:_values(Plugin.values(plugin, 'keys', true), plugin)
local keys = plugin._.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 a17bd8f

Please sign in to comment.