added field for removing plugins to default config and call to plugin removal in init.lua

This commit is contained in:
zbirenbaum 2022-01-30 20:29:35 -05:00 committed by siduck
parent 4b68a75853
commit 4bda425371
2 changed files with 1 additions and 3 deletions

View File

@ -107,7 +107,6 @@ M.plugins = {
esc_insertmode_timeout = 300,
},
default_plugin_config_replace = {},
default_plugin_edit = {},
default_plugin_remove = {},
install = nil,
}

View File

@ -226,8 +226,7 @@ local plugins = {
end,
},
}
--Merge changes to plugin fields from chadrc
plugins = require("core.utils").edit_default_plugins(plugins)
--remove plugins specified in chadrc
plugins = require("core.utils").remove_default_plugins(plugins)
-- append user plugins to default plugins
local user_Plugins = plugin_settings.install