66
66
/// @param[in] idx XDG directory to use.
68
68
/// @return [allocated] `{xdg_directory}/nvim`
69
72
static char *get_xdg_home(const XDGVarType idx)
70
73
FUNC_ATTR_WARN_UNUSED_RESULT
72
75
char *dir = stdpaths_get_xdg_var(idx);
74
82
dir = concat_fnames_realloc(dir, "nvim", true);