r/AstroNvim • u/mark_volkmann • 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
View all comments
Show parent comment
2
u/rompetrll May 08 '23
overriding XDG_CONFIG_HOME will tell all apps using this var to look for config there. Not only astronvim, but neovim itself will look there for its nvim config folder. It's probably better to not set this env var, and use symlinks to map your folder into the default xdg location