clean packer config | Breaking change
This commit is contained in:
parent
e8b31c9308
commit
64c32d2e5e
7 changed files with 89 additions and 104 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue