aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/unix_defs.h
diff options
context:
space:
mode:
authorKeerthan Jaic <jckeerthan@gmail.com>2015-08-04 21:41:38 -0400
committerZyX <kp-pav@yandex.ru>2015-10-23 14:54:09 +0300
commitc2dd07448ff1b2922e8ea14f909a9cbde481e5fc (patch)
tree747efd028186695c226327a724fdc1fa72ed5dad /src/nvim/os/unix_defs.h
parente38cbb93670272d0da15c60222a123b88ec55002 (diff)
downloadrneovim-c2dd07448ff1b2922e8ea14f909a9cbde481e5fc.tar.gz
rneovim-c2dd07448ff1b2922e8ea14f909a9cbde481e5fc.tar.bz2
rneovim-c2dd07448ff1b2922e8ea14f909a9cbde481e5fc.zip
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.
Diffstat (limited to 'src/nvim/os/unix_defs.h')
-rw-r--r--src/nvim/os/unix_defs.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/nvim/os/unix_defs.h b/src/nvim/os/unix_defs.h
index 949973bf40..83c6752ff7 100644
--- a/src/nvim/os/unix_defs.h
+++ b/src/nvim/os/unix_defs.h
@@ -31,12 +31,6 @@
#ifndef USR_EXRC_FILE
# define USR_EXRC_FILE "~/.exrc"
#endif
-#ifndef USR_VIMRC_FILE
-# define USR_VIMRC_FILE "~/.nvimrc"
-#endif
-#ifndef USR_VIMRC_FILE2
-# define USR_VIMRC_FILE2 "~/.nvim/nvimrc"
-#endif
#ifndef EXRC_FILE
# define EXRC_FILE ".exrc"
#endif
@@ -47,27 +41,4 @@
# define SHADA_FILE "~/.nvim/shada/main.shada"
#endif
-// Default for 'backupdir'.
-#ifndef DFLT_BDIR
-# define DFLT_BDIR ".,~/tmp,~/"
-#endif
-
-// Default for 'directory'.
-#ifndef DFLT_DIR
-# define DFLT_DIR ".,~/tmp,/var/tmp,/tmp"
-#endif
-
-// Default for 'viewdir'.
-#ifndef DFLT_VDIR
-# define DFLT_VDIR "~/.nvim/view"
-#endif
-
-#ifdef RUNTIME_GLOBAL
-# define DFLT_RUNTIMEPATH "~/.nvim," RUNTIME_GLOBAL ",$VIMRUNTIME," \
- RUNTIME_GLOBAL "/after,~/.nvim/after"
-#else
-# define DFLT_RUNTIMEPATH \
- "~/.nvim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.nvim/after"
-#endif
-
#endif // NVIM_OS_UNIX_DEFS_H