7
|
1 /* vi:set ts=8 sts=4 sw=4:
|
|
2 *
|
|
3 * VIM - Vi IMproved by Bram Moolenaar
|
|
4 *
|
|
5 * Do ":help uganda" in Vim to read copying and usage conditions.
|
|
6 * Do ":help credits" in Vim to see a list of people who contributed.
|
|
7 */
|
|
8
|
|
9 /*
|
|
10 * Common MS-DOS and Win32 (Windows NT and Windows 95) defines.
|
|
11 *
|
|
12 * Names for the EXRC, HELP and temporary files.
|
|
13 * Some of these may have been defined in the makefile or feature.h.
|
|
14 */
|
|
15
|
|
16 #ifndef SYS_VIMRC_FILE
|
|
17 # define SYS_VIMRC_FILE "$VIM\\vimrc"
|
|
18 #endif
|
|
19 #ifndef USR_VIMRC_FILE
|
|
20 # define USR_VIMRC_FILE "$HOME\\_vimrc"
|
|
21 #endif
|
|
22 #ifndef USR_VIMRC_FILE2
|
|
23 # define USR_VIMRC_FILE2 "$VIM\\_vimrc"
|
|
24 #endif
|
|
25 #ifndef EVIM_FILE
|
|
26 # define EVIM_FILE "$VIMRUNTIME\\evim.vim"
|
|
27 #endif
|
|
28
|
|
29 #ifndef USR_EXRC_FILE
|
|
30 # define USR_EXRC_FILE "$HOME\\_exrc"
|
|
31 #endif
|
|
32 #ifndef USR_EXRC_FILE2
|
|
33 # define USR_EXRC_FILE2 "$VIM\\_exrc"
|
|
34 #endif
|
|
35
|
|
36 #ifdef FEAT_GUI
|
|
37 # ifndef SYS_GVIMRC_FILE
|
|
38 # define SYS_GVIMRC_FILE "$VIM\\gvimrc"
|
|
39 # endif
|
|
40 # ifndef USR_GVIMRC_FILE
|
|
41 # define USR_GVIMRC_FILE "$HOME\\_gvimrc"
|
|
42 # endif
|
|
43 # ifndef USR_GVIMRC_FILE2
|
|
44 # define USR_GVIMRC_FILE2 "$VIM\\_gvimrc"
|
|
45 # endif
|
|
46 # ifndef SYS_MENU_FILE
|
|
47 # define SYS_MENU_FILE "$VIMRUNTIME\\menu.vim"
|
|
48 # endif
|
|
49 #endif
|
|
50
|
|
51 #ifndef SYS_OPTWIN_FILE
|
|
52 # define SYS_OPTWIN_FILE "$VIMRUNTIME\\optwin.vim"
|
|
53 #endif
|
|
54
|
|
55 #ifdef FEAT_VIMINFO
|
|
56 # ifndef VIMINFO_FILE
|
|
57 # define VIMINFO_FILE "$HOME\\_viminfo"
|
|
58 # endif
|
|
59 # ifndef VIMINFO_FILE2
|
|
60 # define VIMINFO_FILE2 "$VIM\\_viminfo"
|
|
61 # endif
|
|
62 #endif
|
|
63
|
|
64 #ifndef VIMRC_FILE
|
|
65 # define VIMRC_FILE "_vimrc"
|
|
66 #endif
|
|
67
|
|
68 #ifndef EXRC_FILE
|
|
69 # define EXRC_FILE "_exrc"
|
|
70 #endif
|
|
71
|
|
72 #ifdef FEAT_GUI
|
|
73 # ifndef GVIMRC_FILE
|
|
74 # define GVIMRC_FILE "_gvimrc"
|
|
75 # endif
|
|
76 #endif
|
|
77
|
|
78 #ifndef DFLT_HELPFILE
|
|
79 # define DFLT_HELPFILE "$VIMRUNTIME\\doc\\help.txt"
|
|
80 #endif
|
|
81
|
|
82 #ifndef FILETYPE_FILE
|
|
83 # define FILETYPE_FILE "filetype.vim"
|
|
84 #endif
|
|
85 #ifndef FTPLUGIN_FILE
|
|
86 # define FTPLUGIN_FILE "ftplugin.vim"
|
|
87 #endif
|
|
88 #ifndef INDENT_FILE
|
|
89 # define INDENT_FILE "indent.vim"
|
|
90 #endif
|
|
91 #ifndef FTOFF_FILE
|
|
92 # define FTOFF_FILE "ftoff.vim"
|
|
93 #endif
|
|
94 #ifndef FTPLUGOF_FILE
|
|
95 # define FTPLUGOF_FILE "ftplugof.vim"
|
|
96 #endif
|
|
97 #ifndef INDOFF_FILE
|
|
98 # define INDOFF_FILE "indoff.vim"
|
|
99 #endif
|
|
100
|
|
101 #ifndef SYNTAX_FNAME
|
|
102 # define SYNTAX_FNAME "$VIMRUNTIME\\syntax\\%s.vim"
|
|
103 #endif
|
|
104
|
|
105 #ifndef DFLT_BDIR
|
|
106 # define DFLT_BDIR ".,c:\\tmp,c:\\temp" /* default for 'backupdir' */
|
|
107 #endif
|
|
108
|
|
109 #ifndef DFLT_VDIR
|
|
110 # define DFLT_VDIR "$VIM/vimfiles/view" /* default for 'viewdir' */
|
|
111 #endif
|
|
112
|
|
113 #ifndef DFLT_DIR
|
|
114 # define DFLT_DIR ".,c:\\tmp,c:\\temp" /* default for 'directory' */
|
|
115 #endif
|
|
116
|
|
117 #define DFLT_ERRORFILE "errors.err"
|
|
118 #define DFLT_RUNTIMEPATH "$HOME/vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/vimfiles/after"
|
|
119
|
|
120 #define CASE_INSENSITIVE_FILENAME /* ignore case when comparing file names */
|
|
121 #define SPACE_IN_FILENAME
|
|
122 #define BACKSLASH_IN_FILENAME
|
|
123 #define USE_CRNL /* lines end in CR-NL instead of NL */
|
|
124 #define HAVE_DUP /* have dup() */
|
|
125 #define HAVE_ST_MODE /* have stat.st_mode */
|