clean packer config | Breaking change

This commit is contained in:
siduck 2022-01-30 12:51:46 +05:30
parent e8b31c9308
commit 64c32d2e5e
7 changed files with 89 additions and 104 deletions

View file

@ -1,15 +0,0 @@
local M = {}
local plugins = {}
M.add = function(fn)
table.insert(plugins, fn)
end
-- load custom plugins in packer startup function
M.run = function(args)
for _, hook in pairs(plugins) do
hook(args)
end
end
return M

View file

@ -107,6 +107,7 @@ M.plugins = {
esc_insertmode_timeout = 300,
},
default_plugin_config_replace = {},
install = nil,
}
-- Don't use a single keymap twice