nvim-setup/nvim/lua/popequer/init.lua

20 lines
384 B
Lua
Raw Permalink Normal View History

local builtin = {}
-- Ref: https://github.com/tjdevries/lazy.nvim
local function require_on_exported_call(mod)
return setmetatable({}, {
__index = function(_, picker)
return function(...)
return require(mod)[picker](...)
end
end,
})
end
builtin.git_status = require_on_exported_call("pickers").files
builtin = apply_config(builtin)
return builtin