mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
stdpaths: Add Windows-specific directories
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user