Resolve https://github.com/NvChad/NvChad/issues/774 | Format
This commit is contained in:
parent
64c32d2e5e
commit
de246fa0f5
|
@ -38,7 +38,7 @@ M.blankline = function(override_flag)
|
|||
"TelescopePrompt",
|
||||
"TelescopeResults",
|
||||
"nvchad_cheatsheet",
|
||||
'lsp-installer',
|
||||
"lsp-installer",
|
||||
"",
|
||||
},
|
||||
buftype_exclude = { "terminal" },
|
||||
|
|
|
@ -229,6 +229,12 @@ local plugins = {
|
|||
|
||||
-- append user plugins to default plugins
|
||||
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
|
||||
end
|
||||
end
|
||||
|
||||
return packer.startup { plugins }
|
||||
|
|
Loading…
Reference in New Issue