diff options
author | ZyX <kp-pav@yandex.ru> | 2015-10-17 21:56:27 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-23 14:54:11 +0300 |
commit | fee3c320484f8444b6b078bdff6777a7aac31c89 (patch) | |
tree | 39974df258c20317d6540745b1c784f9d53df6c1 /src/nvim/os/stdpaths.c | |
parent | afcc842881d2569c11da26a75057062ba4f124e7 (diff) | |
download | rneovim-fee3c320484f8444b6b078bdff6777a7aac31c89.tar.gz rneovim-fee3c320484f8444b6b078bdff6777a7aac31c89.tar.bz2 rneovim-fee3c320484f8444b6b078bdff6777a7aac31c89.zip |
stdpaths: Remove Apple defaults, use \*nix ones instead
Diffstat (limited to 'src/nvim/os/stdpaths.c')
-rw-r--r-- | src/nvim/os/stdpaths.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/nvim/os/stdpaths.c b/src/nvim/os/stdpaths.c index d4bff65312..520836b983 100644 --- a/src/nvim/os/stdpaths.c +++ b/src/nvim/os/stdpaths.c @@ -22,24 +22,16 @@ static const char *const xdg_defaults[] = { // Windows, Apple stuff are just shims right now #ifdef WIN32 // Windows -#elif APPLE - // Apple (this includes iOS, which we might need to handle differently) - [kXDGConfigHome] = "~/Library/Preferences", - [kXDGDataHome] = "~/Library/Application Support", - [kXDGCacheHome] = "~/Library/Caches", - [kXDGRuntimeDir] = "~/Library/Application Support", - [kXDGConfigDirs] = "/Library/Application Support", - [kXDGDataDirs] = "/Library/Application Support", #else - // Linux, BSD, CYGWIN + // Linux, BSD, CYGWIN, Apple [kXDGConfigHome] = "~/.config", [kXDGDataHome] = "~/.local/share", [kXDGCacheHome] = "~/.cache", [kXDGRuntimeDir] = "", [kXDGConfigDirs] = "/etc/xdg/", [kXDGDataDirs] = "/usr/local/share/:/usr/share/", -}; #endif +}; /// Return XDG variable value /// |