packer.nvim
packer.nvim copied to clipboard
chore: move default compile_path under $XDG_DATA_HOME
The old location is usually under source control, which was not optimal for generated files. The new location is more suitable for automated output and is still in the runtimepath.
I don’t think this is a good idea without the automagic migration from the old place to the new one.
But this is a generated file for performance purposes? If it does not exist, it will just be re-generated. Will users even notice?
Ah, I see. You are talking about just about packer_compiled.lua
? Yes, that should really not be in ~/.config/nvim
tree.
Yeah sorry, realize the title is wrong. Should not be config path, should be compile path. Will adjust
Any thoughts on this? If it looks good, can there be a merge?
Once again, this thumbed up, approved, LGTM PR is rebased and ready for merge :smile:
https://github.com/wbthomason/packer.nvim/blob/master/README.md?plain=1#L3