Fixed notify_once() call
This commit is contained in:
parent
871064a5da
commit
3df9c03eb5
@ -193,7 +193,7 @@ M.packer_sync = function(...)
|
|||||||
local plugins = M.load_config().plugins
|
local plugins = M.load_config().plugins
|
||||||
local old_style_options = plugins.user or plugins.override or plugins.remove
|
local old_style_options = plugins.user or plugins.override or plugins.remove
|
||||||
if old_style_options then
|
if old_style_options then
|
||||||
vim.notify_once({ "NvChad: This plugin syntax is deprecated, use new style config." }, "Error")
|
vim.notify_once("NvChad: This plugin syntax is deprecated, use new style config.", "Error")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
error "Packer could not be loaded!"
|
error "Packer could not be loaded!"
|
||||||
|
Loading…
Reference in New Issue
Block a user