packer.nvim icon indicating copy to clipboard operation
packer.nvim copied to clipboard

chore: move default compile_path under $XDG_DATA_HOME

Open TheLudd opened this issue 2 years ago • 5 comments

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.

TheLudd avatar Apr 28 '22 06:04 TheLudd

I don’t think this is a good idea without the automagic migration from the old place to the new one.

mcepl avatar Jun 28 '22 21:06 mcepl

But this is a generated file for performance purposes? If it does not exist, it will just be re-generated. Will users even notice?

TheLudd avatar Jun 29 '22 07:06 TheLudd

Ah, I see. You are talking about just about packer_compiled.lua? Yes, that should really not be in ~/.config/nvim tree.

mcepl avatar Jun 29 '22 08:06 mcepl

Yeah sorry, realize the title is wrong. Should not be config path, should be compile path. Will adjust

TheLudd avatar Jun 29 '22 08:06 TheLudd

Any thoughts on this? If it looks good, can there be a merge?

TheLudd avatar Sep 15 '22 07:09 TheLudd

Once again, this thumbed up, approved, LGTM PR is rebased and ready for merge :smile:

TheLudd avatar Sep 21 '23 06:09 TheLudd

https://github.com/wbthomason/packer.nvim/blob/master/README.md?plain=1#L3

thetic avatar Sep 21 '23 06:09 thetic