ThePrimeagen/init.lua

Packer not required

GosuTeacher opened this issue · 4 comments

Shouldn't you require also the packer.lua file here?

require("theprimeagen.remap")

Why? My works without it? For what?

@GosuTeacher packer generates a compiled version of the init script and places it in the .config/nvim/plugin, and all files in that folder are auto loaded. So no need to load it a second time via init.lua

With the config from the video, and us the neovim downloaded today (v0.9.1) the :PackerSync command doesn't work when I exit and reopen nvim until I open the packer.lua file and type :so.

There is a step missing somewhere.

Compiling Lazy-Loaders

To optimize startup time, packer.nvim compiles code to perform the lazy-loading operations you specify. This means that you do not need to load packer.nvim unless you want to perform some plugin management operations.