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
plugins[#plugins + 1] = user_Plugins 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
end
end
return packer.startup { plugins } return packer.startup { plugins }