Skip to content

How to ignore ~/.config/nvim/plugin/packer_compiled.lua #1257

Closed Answered by BoostCookie
BoostCookie asked this question in Q&A
Discussion options

You must be logged in to vote

OK, I've solved it by putting the packer_compiled.lua into the cache directory instead:

local packer = require("packer")
packer.init({
	compile_path = require("packer.util").join_paths(vim.fn.stdpath("cache"), "plugin", "packer_compiled.lua"),
})
local use = packer.use
use("...")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BoostCookie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant