Mercurial > vim
comparison src/globals.h @ 167:c93c9cad9618
updated for version 7.0051
author | vimboss |
---|---|
date | Tue, 22 Feb 2005 08:39:57 +0000 |
parents | 19670b05ee32 |
children | 8c60f65311fa |
comparison
equal
deleted
inserted
replaced
166:3a28ed993bbe | 167:c93c9cad9618 |
---|---|
153 EXTERN int did_endif INIT(= FALSE); /* just had ":endif" */ | 153 EXTERN int did_endif INIT(= FALSE); /* just had ":endif" */ |
154 #endif | 154 #endif |
155 EXTERN int did_emsg; /* set by emsg() when the message | 155 EXTERN int did_emsg; /* set by emsg() when the message |
156 is displayed or thrown */ | 156 is displayed or thrown */ |
157 EXTERN int called_emsg; /* always set by emsg() */ | 157 EXTERN int called_emsg; /* always set by emsg() */ |
158 EXTERN int ex_exitval INIT(= 0); /* exit value for ex mode */ | |
158 EXTERN int emsg_on_display INIT(= FALSE); /* there is an error message */ | 159 EXTERN int emsg_on_display INIT(= FALSE); /* there is an error message */ |
159 EXTERN int rc_did_emsg INIT(= FALSE); /* vim_regcomp() called emsg() */ | 160 EXTERN int rc_did_emsg INIT(= FALSE); /* vim_regcomp() called emsg() */ |
160 | 161 |
161 EXTERN int no_wait_return INIT(= 0); /* don't wait for return for now */ | 162 EXTERN int no_wait_return INIT(= 0); /* don't wait for return for now */ |
162 EXTERN int need_wait_return INIT(= 0); /* need to wait for return later */ | 163 EXTERN int need_wait_return INIT(= 0); /* need to wait for return later */ |
179 EXTERN int x_force_connect INIT(= FALSE); /* Do connect to X server. | 180 EXTERN int x_force_connect INIT(= FALSE); /* Do connect to X server. |
180 Overrules x_no_connect and | 181 Overrules x_no_connect and |
181 "exclude" in 'clipboard'. */ | 182 "exclude" in 'clipboard'. */ |
182 # endif | 183 # endif |
183 #endif | 184 #endif |
185 EXTERN int ex_keep_indent INIT(= FALSE); /* getexmodeline(): keep indent */ | |
184 EXTERN int vgetc_busy INIT(= FALSE); /* inside vgetc() now */ | 186 EXTERN int vgetc_busy INIT(= FALSE); /* inside vgetc() now */ |
185 | 187 |
186 EXTERN int didset_vim INIT(= FALSE); /* did set $VIM ourselves */ | 188 EXTERN int didset_vim INIT(= FALSE); /* did set $VIM ourselves */ |
187 EXTERN int didset_vimruntime INIT(= FALSE); /* idem for $VIMRUNTIME */ | 189 EXTERN int didset_vimruntime INIT(= FALSE); /* idem for $VIMRUNTIME */ |
188 | 190 |
925 EXTERN char_u *autocmd_fname INIT(= NULL); /* fname for <afile> on cmdline */ | 927 EXTERN char_u *autocmd_fname INIT(= NULL); /* fname for <afile> on cmdline */ |
926 EXTERN int autocmd_bufnr INIT(= 0); /* fnum for <abuf> on cmdline */ | 928 EXTERN int autocmd_bufnr INIT(= 0); /* fnum for <abuf> on cmdline */ |
927 EXTERN char_u *autocmd_match INIT(= NULL); /* name for <amatch> on cmdline */ | 929 EXTERN char_u *autocmd_match INIT(= NULL); /* name for <amatch> on cmdline */ |
928 #endif | 930 #endif |
929 | 931 |
932 EXTERN linenr_T write_no_eol_lnum INIT(= 0); /* non-zero lnum when last line | |
933 of next binary write should | |
934 not have an end-of-line */ | |
935 | |
930 #ifdef FEAT_WINDOWS | 936 #ifdef FEAT_WINDOWS |
931 EXTERN int postponed_split INIT(= 0); /* for CTRL-W CTRL-] command */ | 937 EXTERN int postponed_split INIT(= 0); /* for CTRL-W CTRL-] command */ |
932 EXTERN int postponed_split_flags INIT(= 0); /* args for win_split() */ | 938 EXTERN int postponed_split_flags INIT(= 0); /* args for win_split() */ |
933 # ifdef FEAT_QUICKFIX | 939 # ifdef FEAT_QUICKFIX |
934 EXTERN int g_do_tagpreview INIT(= 0); /* for tag preview commands: | 940 EXTERN int g_do_tagpreview INIT(= 0); /* for tag preview commands: |
955 | 961 |
956 EXTERN int redir_off INIT(= FALSE); /* no redirection for a moment */ | 962 EXTERN int redir_off INIT(= FALSE); /* no redirection for a moment */ |
957 EXTERN FILE *redir_fd INIT(= NULL); /* message redirection file */ | 963 EXTERN FILE *redir_fd INIT(= NULL); /* message redirection file */ |
958 #ifdef FEAT_EVAL | 964 #ifdef FEAT_EVAL |
959 EXTERN int redir_reg INIT(= 0); /* message redirection register */ | 965 EXTERN int redir_reg INIT(= 0); /* message redirection register */ |
966 EXTERN int redir_vname INIT(= 0); /* message redirection variable */ | |
960 #endif | 967 #endif |
961 | 968 |
962 #ifdef FEAT_LANGMAP | 969 #ifdef FEAT_LANGMAP |
963 EXTERN char_u langmap_mapchar[256]; /* mapping for language keys */ | 970 EXTERN char_u langmap_mapchar[256]; /* mapping for language keys */ |
964 #endif | 971 #endif |
1397 #endif | 1404 #endif |
1398 #ifdef FEAT_NETBEANS_INTG | 1405 #ifdef FEAT_NETBEANS_INTG |
1399 EXTERN char_u e_guarded[] INIT(=N_("E463: Region is guarded, cannot modify")); | 1406 EXTERN char_u e_guarded[] INIT(=N_("E463: Region is guarded, cannot modify")); |
1400 EXTERN char_u e_nbreadonly[] INIT(=N_("E744: NetBeans does not allow changes in read-only files")); | 1407 EXTERN char_u e_nbreadonly[] INIT(=N_("E744: NetBeans does not allow changes in read-only files")); |
1401 #endif | 1408 #endif |
1402 #if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) | |
1403 EXTERN char_u e_intern2[] INIT(=N_("E685: Internal error: %s")); | 1409 EXTERN char_u e_intern2[] INIT(=N_("E685: Internal error: %s")); |
1404 #endif | |
1405 #if defined(HAVE_SETJMP_H) || defined(HAVE_TRY_EXCEPT) | 1410 #if defined(HAVE_SETJMP_H) || defined(HAVE_TRY_EXCEPT) |
1406 EXTERN char_u e_complex[] INIT(=N_("E361: Crash intercepted; regexp too complex?")); | 1411 EXTERN char_u e_complex[] INIT(=N_("E361: Crash intercepted; regexp too complex?")); |
1407 #endif | 1412 #endif |
1408 EXTERN char_u e_outofstack[] INIT(=N_("E363: pattern caused out-of-stack error")); | 1413 EXTERN char_u e_outofstack[] INIT(=N_("E363: pattern caused out-of-stack error")); |
1409 | 1414 EXTERN char_u e_emptybuf[] INIT(=N_("E749: empty buffer")); |
1410 | 1415 |
1411 #ifdef MACOS_X_UNIX | 1416 #ifdef MACOS_X_UNIX |
1412 EXTERN short disallow_gui INIT(= FALSE); | 1417 EXTERN short disallow_gui INIT(= FALSE); |
1413 #endif | 1418 #endif |
1414 | 1419 |