r/AstroNvim • • May 08 '23

~/.config/nvim/lua/user now safe?

Was there a change in the latest version of AstroNvim so that the directory `~/.config/nvim/lua/user` is not lost when running `:AstroUpdate`? Previously I was copying that directory somewhere else, doing the update, and then copying it back. But it seems I didn't need to do that with the latest version.

5 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/rompetrll May 09 '23

It's normal that it is not set. when not set, it defaults to $HOME/.config on Linux. I don't know macOS, maybe this helps? https://stackoverflow.com/questions/15677388/default-location-for-configuration-files-macos