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
|
4863
|
23 # define USR_VIMRC_FILE2 "$HOME\\vimfiles\\vimrc"
|
|
24 #endif
|
|
25 #ifndef USR_VIMRC_FILE3
|
|
26 # define USR_VIMRC_FILE3 "$VIM\\_vimrc"
|
7
|
27 #endif
|
|
28 #ifndef EVIM_FILE
|
|
29 # define EVIM_FILE "$VIMRUNTIME\\evim.vim"
|
|
30 #endif
|
|
31
|
|
32 #ifndef USR_EXRC_FILE
|
|
33 # define USR_EXRC_FILE "$HOME\\_exrc"
|
|
34 #endif
|
|
35 #ifndef USR_EXRC_FILE2
|
|
36 # define USR_EXRC_FILE2 "$VIM\\_exrc"
|
|
37 #endif
|
|
38
|
|
39 #ifdef FEAT_GUI
|
|
40 # ifndef SYS_GVIMRC_FILE
|
|
41 # define SYS_GVIMRC_FILE "$VIM\\gvimrc"
|
|
42 # endif
|
|
43 # ifndef USR_GVIMRC_FILE
|
|
44 # define USR_GVIMRC_FILE "$HOME\\_gvimrc"
|
|
45 # endif
|
|
46 # ifndef USR_GVIMRC_FILE2
|
4863
|
47 # define USR_GVIMRC_FILE2 "$HOME\\vimfiles\\gvimrc"
|
|
48 # endif
|
|
49 # ifndef USR_GVIMRC_FILE3
|
|
50 # define USR_GVIMRC_FILE3 "$VIM\\_gvimrc"
|
7
|
51 # endif
|
|
52 # ifndef SYS_MENU_FILE
|
|
53 # define SYS_MENU_FILE "$VIMRUNTIME\\menu.vim"
|
|
54 # endif
|
|
55 #endif
|
|
56
|
|
57 #ifndef SYS_OPTWIN_FILE
|
|
58 # define SYS_OPTWIN_FILE "$VIMRUNTIME\\optwin.vim"
|
|
59 #endif
|
|
60
|
|
61 #ifdef FEAT_VIMINFO
|
|
62 # ifndef VIMINFO_FILE
|
|
63 # define VIMINFO_FILE "$HOME\\_viminfo"
|
|
64 # endif
|
|
65 # ifndef VIMINFO_FILE2
|
|
66 # define VIMINFO_FILE2 "$VIM\\_viminfo"
|
|
67 # endif
|
|
68 #endif
|
|
69
|
|
70 #ifndef VIMRC_FILE
|
|
71 # define VIMRC_FILE "_vimrc"
|
|
72 #endif
|
|
73
|
|
74 #ifndef EXRC_FILE
|
|
75 # define EXRC_FILE "_exrc"
|
|
76 #endif
|
|
77
|
|
78 #ifdef FEAT_GUI
|
|
79 # ifndef GVIMRC_FILE
|
|
80 # define GVIMRC_FILE "_gvimrc"
|
|
81 # endif
|
|
82 #endif
|
|
83
|
|
84 #ifndef DFLT_HELPFILE
|
|
85 # define DFLT_HELPFILE "$VIMRUNTIME\\doc\\help.txt"
|
|
86 #endif
|
|
87
|
|
88 #ifndef FILETYPE_FILE
|
|
89 # define FILETYPE_FILE "filetype.vim"
|
|
90 #endif
|
|
91 #ifndef FTPLUGIN_FILE
|
|
92 # define FTPLUGIN_FILE "ftplugin.vim"
|
|
93 #endif
|
|
94 #ifndef INDENT_FILE
|
|
95 # define INDENT_FILE "indent.vim"
|
|
96 #endif
|
|
97 #ifndef FTOFF_FILE
|
|
98 # define FTOFF_FILE "ftoff.vim"
|
|
99 #endif
|
|
100 #ifndef FTPLUGOF_FILE
|
|
101 # define FTPLUGOF_FILE "ftplugof.vim"
|
|
102 #endif
|
|
103 #ifndef INDOFF_FILE
|
|
104 # define INDOFF_FILE "indoff.vim"
|
|
105 #endif
|
|
106
|
|
107 #ifndef SYNTAX_FNAME
|
|
108 # define SYNTAX_FNAME "$VIMRUNTIME\\syntax\\%s.vim"
|
|
109 #endif
|
|
110
|
|
111 #ifndef DFLT_BDIR
|
|
112 # define DFLT_BDIR ".,c:\\tmp,c:\\temp" /* default for 'backupdir' */
|
|
113 #endif
|
|
114
|
|
115 #ifndef DFLT_VDIR
|
|
116 # define DFLT_VDIR "$VIM/vimfiles/view" /* default for 'viewdir' */
|
|
117 #endif
|
|
118
|
|
119 #ifndef DFLT_DIR
|
|
120 # define DFLT_DIR ".,c:\\tmp,c:\\temp" /* default for 'directory' */
|
|
121 #endif
|
|
122
|
|
123 #define DFLT_ERRORFILE "errors.err"
|
|
124 #define DFLT_RUNTIMEPATH "$HOME/vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/vimfiles/after"
|
|
125
|
|
126 #define CASE_INSENSITIVE_FILENAME /* ignore case when comparing file names */
|
|
127 #define SPACE_IN_FILENAME
|
|
128 #define BACKSLASH_IN_FILENAME
|
|
129 #define USE_CRNL /* lines end in CR-NL instead of NL */
|
|
130 #define HAVE_DUP /* have dup() */
|
|
131 #define HAVE_ST_MODE /* have stat.st_mode */
|