GideonWolfe / vim.reaper

💀 A Hackable, Fully Featured, Rice Friendly Neovim Configuration
286 stars 10 forks source link

Make init.vim work regardless of its location #8

Closed ghost closed 4 years ago

ghost commented 4 years ago

If $XDG_CONFIG_HOME is not pointing to $HOME/.config, then init.vim is not sourcing to the correct location.

Using runtime to point directly to the files will always work in this case, while source use relative path and it's easier than manipulating environment variables :)