stdpaths: Add Windows-specific directories

This commit is contained in:
ZyX 2015-10-18 00:24:23 +03:00
parent b7732cceca
commit 181c377697

View File

@ -23,6 +23,12 @@ static const char *const xdg_defaults[] = {
// Windows, Apple stuff are just shims right now // Windows, Apple stuff are just shims right now
#ifdef WIN32 #ifdef WIN32
// Windows // Windows
[kXDGConfigHome] = "$LOCALAPPDATA\\nvim\\config",
[kXDGDataHome] = "$LOCALAPPDATA\\nvim\\data",
[kXDGCacheHome] = "$LOCALAPPDATA\\nvim\\cache",
[kXDGRuntimeDir] = "",
[kXDGConfigDirs] = NULL,
[kXDGDataDirs] = NULL,
#else #else
// Linux, BSD, CYGWIN, Apple // Linux, BSD, CYGWIN, Apple
[kXDGConfigHome] = "~/.config", [kXDGConfigHome] = "~/.config",