option,main: Partial support of XDG base directory specification

- Add functions that are able to query XDG.
- Replace defaults for
  - &runtimepath. Does not follow #78.
  - &viewdir.
  - &undodir.
  - &directory.
  - &backupdir. Does not follow #78.
  - vimrc location.
- Remove user vimrc file line from :version message.
This commit is contained in:
Keerthan Jaic
2015-08-04 21:41:38 -04:00
committed by ZyX
parent e38cbb9367
commit c2dd07448f
8 changed files with 125 additions and 69 deletions

View File

@@ -12,6 +12,7 @@
# include "os/mem.h.generated.h"
# include "os/env.h.generated.h"
# include "os/users.h.generated.h"
# include "os/stdpaths.h.generated.h"
#endif
#endif // NVIM_OS_OS_H