This commit is contained in:
Akianonymus 2022-01-30 22:34:39 +05:30 committed by siduck
parent 64c32d2e5e
commit de246fa0f5
2 changed files with 8 additions and 2 deletions

View File

@ -38,7 +38,7 @@ M.blankline = function(override_flag)
"TelescopePrompt", "TelescopePrompt",
"TelescopeResults", "TelescopeResults",
"nvchad_cheatsheet", "nvchad_cheatsheet",
'lsp-installer', "lsp-installer",
"", "",
}, },
buftype_exclude = { "terminal" }, buftype_exclude = { "terminal" },

View File

@ -229,6 +229,12 @@ local plugins = {
-- append user plugins to default plugins -- append user plugins to default plugins
local user_Plugins = plugin_settings.install local user_Plugins = plugin_settings.install
if type(user_Plugins) == "table" then
if table.maxn(user_Plugins) == 1 then
plugins[#plugins + 1] = user_Plugins[1]
else
plugins[#plugins + 1] = user_Plugins plugins[#plugins + 1] = user_Plugins
end
end
return packer.startup { plugins } return packer.startup { plugins }