Fixed notify_once() call

This commit is contained in:
Rik034 2022-09-09 11:07:48 +02:00 committed by Sidhanth Rathod
parent 871064a5da
commit 3df9c03eb5
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ M.packer_sync = function(...)
local plugins = M.load_config().plugins
local old_style_options = plugins.user or plugins.override or plugins.remove
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
else
error "Packer could not be loaded!"