mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
stdpaths: Add Windows-specific directories
This commit is contained in:
parent
b7732cceca
commit
181c377697
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user