diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-04-15 23:44:10 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-04-28 00:27:07 +0200 |
commit | 769f44e918c61023a3a01dc238a881049f4c6649 (patch) | |
tree | 04d069ba4db9cb18f20585235838331486d661f9 /src/nvim/os/stdpaths_defs.h | |
parent | 83d571653bdc100d8fe56b4241f29a1aa996c705 (diff) | |
download | rneovim-769f44e918c61023a3a01dc238a881049f4c6649.tar.gz rneovim-769f44e918c61023a3a01dc238a881049f4c6649.tar.bz2 rneovim-769f44e918c61023a3a01dc238a881049f4c6649.zip |
win/defaults: Use "…/nvim-data/site" in 'runtimepath'
On Windows we store non-config data in "$XDG_DATA_HOME/nvim-data". But
the "…/site" items in 'runtimepath' did not correctly point to that
location, they used "…/nvim/site".
Fix the init logic to use "…/nvim-data/site".
closes #9910
Diffstat (limited to 'src/nvim/os/stdpaths_defs.h')
-rw-r--r-- | src/nvim/os/stdpaths_defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/os/stdpaths_defs.h b/src/nvim/os/stdpaths_defs.h index 1433e0bc62..44c30df373 100644 --- a/src/nvim/os/stdpaths_defs.h +++ b/src/nvim/os/stdpaths_defs.h @@ -3,6 +3,7 @@ /// List of possible XDG variables typedef enum { + kXDGNone = -1, kXDGConfigHome, ///< XDG_CONFIG_HOME kXDGDataHome, ///< XDG_DATA_HOME kXDGCacheHome, ///< XDG_CACHE_HOME |