Don't load packer at startup

This commit is contained in:
nullchilly
2022-08-07 15:46:45 +05:30
committed by Sidhanth Rathod
parent 22c3cc0c0d
commit b3d3c5a7dd
3 changed files with 14 additions and 19 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ autocmd("FileType", {
-- wrap the PackerSync command to warn people before using it in NvChadSnapshots
autocmd("VimEnter", {
callback = function()
vim.cmd "command! -nargs=* -complete=customlist,v:lua.require'packer'.plugin_complete PackerSync lua require('core.utils').packer_sync(<f-args>)"
vim.cmd "command! -nargs=* -complete=customlist,v:lua.require'packer'.plugin_complete PackerSync lua require('plugins') require('core.utils').packer_sync(<f-args>)"
end,
})