added field for removing plugins to default config and call to plugin removal in init.lua
This commit is contained in:
parent
4b68a75853
commit
4bda425371
@ -107,7 +107,6 @@ M.plugins = {
|
||||
esc_insertmode_timeout = 300,
|
||||
},
|
||||
default_plugin_config_replace = {},
|
||||
default_plugin_edit = {},
|
||||
default_plugin_remove = {},
|
||||
install = nil,
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user