From 4bda425371c2ace1be2eb0cd80109e82b7f7b665 Mon Sep 17 00:00:00 2001 From: zbirenbaum Date: Sun, 30 Jan 2022 20:29:35 -0500 Subject: [PATCH] added field for removing plugins to default config and call to plugin removal in init.lua --- lua/core/default_config.lua | 1 - lua/plugins/init.lua | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index 6a40b31..6f35471 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -107,7 +107,6 @@ M.plugins = { esc_insertmode_timeout = 300, }, default_plugin_config_replace = {}, - default_plugin_edit = {}, default_plugin_remove = {}, install = nil, } diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index df7e615..3323d70 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -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