19526
|
1 /* vi:set ts=8 sts=4 sw=4:
|
|
2 *
|
|
3 * VIM - Vi IMproved by Bram Moolenaar
|
|
4 * Haiku port by Siarzhuk Zharski
|
|
5 *
|
|
6 * Do ":help uganda" in Vim to read copying and usage conditions.
|
|
7 * Do ":help credits" in Vim to see a list of people who contributed.
|
|
8 */
|
|
9
|
|
10 /*
|
|
11 * os_haiku.h
|
|
12 */
|
|
13
|
|
14 #define USE_TERM_CONSOLE
|
|
15
|
|
16 #define USR_VIM_DIR "$BE_USER_SETTINGS/vim"
|
|
17
|
|
18 #define USR_EXRC_FILE USR_VIM_DIR "/exrc"
|
|
19 #define USR_EXRC_FILE2 USR_VIM_DIR "/vim/exrc"
|
|
20 #define USR_VIMRC_FILE USR_VIM_DIR "/vimrc"
|
|
21 #define USR_VIMRC_FILE2 USR_VIM_DIR "/vim/vimrc"
|
|
22 #define USR_GVIMRC_FILE USR_VIM_DIR "/gvimrc"
|
|
23 #define USR_GVIMRC_FILE2 USR_VIM_DIR "/vim/gvimrc"
|
|
24 #define VIMINFO_FILE USR_VIM_DIR "/viminfo"
|
|
25
|
|
26 #ifdef RUNTIME_GLOBAL
|
|
27 # ifdef RUNTIME_GLOBAL_AFTER
|
|
28 # define DFLT_RUNTIMEPATH USR_VIM_DIR "," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL_AFTER "," USR_VIM_DIR "/after"
|
|
29 # define CLEAN_RUNTIMEPATH RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL_AFTER
|
|
30 # else
|
|
31 # define DFLT_RUNTIMEPATH USR_VIM_DIR "," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after," USR_VIM_DIR "/after"
|
|
32 # define CLEAN_RUNTIMEPATH RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after"
|
|
33 # endif
|
|
34 #else
|
|
35 # define DFLT_RUNTIMEPATH USR_VIM_DIR ",$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after," USR_VIM_DIR "/after"
|
|
36 # define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after"
|
|
37 #endif
|