clean packer config | Breaking change
This commit is contained in:
@@ -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
|
||||
@@ -107,6 +107,7 @@ M.plugins = {
|
||||
esc_insertmode_timeout = 300,
|
||||
},
|
||||
default_plugin_config_replace = {},
|
||||
install = nil,
|
||||
}
|
||||
|
||||
-- Don't use a single keymap twice
|
||||
|
||||
Reference in New Issue
Block a user