Compare commits

...

14 Commits

Author SHA1 Message Date
Bram Moolenaar
ba07ce32cc updated for version 7.2.327 2010-01-06 18:25:34 +01:00
Bram Moolenaar
6f97701373 updated for version 7.2.326 2010-01-06 17:53:38 +01:00
Bram Moolenaar
70d60e9da1 updated for version 7.2-325 2009-12-31 13:53:33 +00:00
Bram Moolenaar
742d1ecd17 updated for version 7.2-324 2009-12-31 12:18:30 +00:00
Bram Moolenaar
281daf62aa updated for version 7.2-323 2009-12-24 15:11:40 +00:00
Bram Moolenaar
3084894793 updated for version 7.2-322 2009-12-24 14:46:12 +00:00
Bram Moolenaar
c7be3f30d0 updated for version 7.2-321 2009-12-24 14:01:12 +00:00
Bram Moolenaar
0a1c0ece44 updated for version 7.2-320 2009-12-16 18:02:47 +00:00
Bram Moolenaar
088598d7d6 updated for version 7.2-319 2009-12-16 17:49:39 +00:00
Bram Moolenaar
5d985b9cca updated for version 7.2-318 2009-12-16 17:28:07 +00:00
Bram Moolenaar
f5b6386f4f updated for version 7.2-317 2009-12-16 17:13:44 +00:00
Bram Moolenaar
56d1db3067 updated for version 7.2-316 2009-12-16 16:14:51 +00:00
Bram Moolenaar
72951077b9 updated for version 7.2-315 2009-12-02 16:58:33 +00:00
Bram Moolenaar
d7cd61723e updated for version 7.2-314 2009-12-02 16:47:11 +00:00
17 changed files with 119 additions and 106 deletions

14
src/auto/configure vendored
View File

@@ -5126,7 +5126,7 @@ else
vi_cv_path_python_conf=
for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
for subdir in lib share; do
for subdir in lib64 lib share; do
d="${path}/${subdir}/python${vi_cv_var_python_version}/config"
if test -d "$d" && test -f "$d/config.c"; then
vi_cv_path_python_conf="$d"
@@ -13718,8 +13718,8 @@ $as_echo "$ac_try_echo") >&5
$as_echo "pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&6; }
else
vim_cv_tty_group=world
{ $as_echo "$as_me:$LINENO: result: ptys are world accessable" >&5
$as_echo "ptys are world accessable" >&6; }
{ $as_echo "$as_me:$LINENO: result: ptys are world accessible" >&5
$as_echo "ptys are world accessible" >&6; }
fi
else
@@ -13730,8 +13730,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
vim_cv_tty_group=world
{ $as_echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
$as_echo "can't determine - assume ptys are world accessable" >&6; }
{ $as_echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessible" >&5
$as_echo "can't determine - assume ptys are world accessible" >&6; }
fi
rm -rf conftest.dSYM
@@ -17185,10 +17185,10 @@ $as_echo "yes" >&6; }
{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
{ $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5
{ $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5
$as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; }
if test "$gccmajor" -gt "3"; then
CFLAGS=`echo "$CFLAGS -D_FORTIFY_SOURCE=1" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' -e 's/-D_FORTIFY_SOURCE=2//g'`
CFLAGS=`echo "$CFLAGS" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=.//g' -e 's/-D_FORTIFY_SOURCE=.//g' -e 's/$/ -D_FORTIFY_SOURCE=1/'`
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else

View File

@@ -686,7 +686,7 @@ if test "$enable_pythoninterp" = "yes"; then
[
vi_cv_path_python_conf=
for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
for subdir in lib share; do
for subdir in lib64 lib share; do
d="${path}/${subdir}/python${vi_cv_var_python_version}/config"
if test -d "$d" && test -f "$d/config.c"; then
vi_cv_path_python_conf="$d"
@@ -2557,11 +2557,11 @@ main()
AC_MSG_RESULT([pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group])
else
vim_cv_tty_group=world
AC_MSG_RESULT([ptys are world accessable])
AC_MSG_RESULT([ptys are world accessible])
fi
],[
vim_cv_tty_group=world
AC_MSG_RESULT([can't determine - assume ptys are world accessable])
AC_MSG_RESULT([can't determine - assume ptys are world accessible])
],[
AC_MSG_ERROR(cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode')
])
@@ -3241,9 +3241,10 @@ if test "$GCC" = yes; then
fi
dnl -D_FORTIFY_SOURCE=2 crashes Vim on strcpy(buf, "000") when buf is
dnl declared as char x[1] but actually longer. Introduced in gcc 4.0.
dnl Also remove duplicate _FORTIFY_SOURCE arguments.
AC_MSG_CHECKING(whether we need -D_FORTIFY_SOURCE=1)
if test "$gccmajor" -gt "3"; then
CFLAGS=`echo "$CFLAGS -D_FORTIFY_SOURCE=1" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' -e 's/-D_FORTIFY_SOURCE=2//g'`
CFLAGS=`echo "$CFLAGS" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=.//g' -e 's/-D_FORTIFY_SOURCE=.//g' -e 's/$/ -D_FORTIFY_SOURCE=1/'`
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)

View File

@@ -7397,6 +7397,10 @@ in_cinkeys(keytyped, when, line_is_empty)
int icase;
int i;
if (keytyped == NUL)
/* Can happen with CTRL-Y and CTRL-E on a short line. */
return FALSE;
#ifdef FEAT_EVAL
if (*curbuf->b_p_inde != NUL)
look = curbuf->b_p_indk; /* 'indentexpr' set: use 'indentkeys' */

View File

@@ -12014,6 +12014,7 @@ f_histadd(argvars, rettv)
str = get_tv_string_buf(&argvars[1], buf);
if (*str != NUL)
{
init_history();
add_to_history(histype, str, FALSE, NUL);
rettv->vval.v_number = TRUE;
return;
@@ -15541,7 +15542,8 @@ f_setpos(argvars, rettv)
{
if (list2fpos(&argvars[1], &pos, &fnum) == OK)
{
--pos.col;
if (--pos.col < 0)
pos.col = 0;
if (name[0] == '.' && name[1] == NUL)
{
/* set cursor */

View File

@@ -2981,6 +2981,13 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit,
if (fname == NULL || *fname == NUL) /* safety check */
return FAIL;
if (buf->b_ml.ml_mfp == NULL)
{
/* This can happen during startup when there is a stray "w" in the
* vimrc file. */
EMSG(_(e_emptybuf));
return FAIL;
}
/*
* Disallow writing from .exrc and .vimrc in current directory for

View File

@@ -212,12 +212,14 @@ typedef struct _DllVersionInfo
DWORD dwPlatformID;
} DLLVERSIONINFO;
#include <poppack.h>
typedef struct tagTOOLINFOA_NEW
{
UINT cbSize;
UINT uFlags;
HWND hwnd;
UINT uId;
UINT_PTR uId;
RECT rect;
HINSTANCE hinst;
LPSTR lpszText;
@@ -227,15 +229,13 @@ typedef struct tagTOOLINFOA_NEW
typedef struct tagNMTTDISPINFO_NEW
{
NMHDR hdr;
LPTSTR lpszText;
LPSTR lpszText;
char szText[80];
HINSTANCE hinst;
UINT uFlags;
LPARAM lParam;
} NMTTDISPINFO_NEW;
#include <poppack.h>
typedef HRESULT (WINAPI* DLLGETVERSIONPROC)(DLLVERSIONINFO *);
#ifndef TTM_SETMAXTIPWIDTH
# define TTM_SETMAXTIPWIDTH (WM_USER+24)

View File

@@ -1274,13 +1274,12 @@ gui_xm_select_font(char_u *current)
XtAppProcessEvent(XtWidgetToApplicationContext(data->dialog),
(XtInputMask)XtIMAll);
XtDestroyWidget(data->dialog);
if (data->old)
{
XFreeFont(XtDisplay(data->dialog), data->old);
XmFontListFree(data->old_list);
}
XtDestroyWidget(data->dialog);
gui_motif_synch_fonts();

View File

@@ -70,14 +70,6 @@ typedef struct
Scheme_Object *port;
} Port_Info;
/* info for do_apply */
typedef struct
{
Scheme_Object *proc;
int argc;
Scheme_Object **argv;
} Apply_Info;
/*
*========================================================================
* Vim-Control Commands
@@ -160,7 +152,6 @@ static Scheme_Object *_apply_thunk_catch_exceptions(
static Scheme_Object *extract_exn_message(Scheme_Object *v);
static Scheme_Object *do_eval(void *, int noargc, Scheme_Object **noargv);
static Scheme_Object *do_load(void *, int noargc, Scheme_Object **noargv);
static Scheme_Object *do_apply(void *, int noargc, Scheme_Object **noargv);
static void register_vim_exn(void);
static vim_mz_buffer *get_buffer_arg(const char *fname, int argnum,
int argc, Scheme_Object **argv);
@@ -1056,7 +1047,7 @@ mzscheme_init(void)
MZ_GC_REG();
config = scheme_config;
MZ_GC_CHECK();
/* recreate ports each call effectivelly clearing these ones */
/* recreate ports each call effectively clearing these ones */
curout = scheme_make_string_output_port();
MZ_GC_CHECK();
curerr = scheme_make_string_output_port();
@@ -1196,36 +1187,6 @@ ex_mzscheme(exarg_T *eap)
}
}
/*
* apply MzScheme procedure with arguments,
* handling errors
*/
Scheme_Object *
mzvim_apply(Scheme_Object *proc, int argc, Scheme_Object **argv)
{
if (mzscheme_init())
return FAIL;
else
{
Apply_Info data = {NULL, 0, NULL};
Scheme_Object *ret = NULL;
MZ_GC_DECL_REG(5);
MZ_GC_VAR_IN_REG(0, ret);
MZ_GC_VAR_IN_REG(1, data.proc);
MZ_GC_ARRAY_VAR_IN_REG(2, data.argv, argc);
MZ_GC_REG();
data.proc = proc;
data.argc = argc;
data.argv = argv;
eval_with_exn_handling(&data, do_apply, &ret);
MZ_GC_UNREG();
return ret;
}
}
static Scheme_Object *
do_load(void *data, int noargc, Scheme_Object **noargv)
{
@@ -1257,7 +1218,7 @@ do_load(void *data, int noargc, Scheme_Object **noargv)
MZ_GC_CHECK();
}
/* errors will be caught in do_mzscheme_comamnd and ex_mzfile */
/* errors will be caught in do_mzscheme_command and ex_mzfile */
scheme_close_input_port(pinfo->port);
MZ_GC_CHECK();
pinfo->port = NULL;
@@ -1348,13 +1309,6 @@ do_eval(void *s, int noargc, Scheme_Object **noargv)
return scheme_eval_string_all((char *)s, environment, TRUE);
}
static Scheme_Object *
do_apply(void *a, int noargc, Scheme_Object **noargv)
{
Apply_Info *info = (Apply_Info *)a;
return scheme_apply(info->proc, info->argc, info->argv);
}
/*
*========================================================================
* 3. MzScheme I/O Handlers
@@ -2128,7 +2082,7 @@ get_buffer_line_list(void *data, int argc, Scheme_Object **argv)
static Scheme_Object *
set_buffer_line(void *data, int argc, Scheme_Object **argv)
{
/* First of all, we check the the of the supplied MzScheme object.
/* First of all, we check the value of the supplied MzScheme object.
* There are three cases:
* 1. #f - this is a deletion.
* 2. A string - this is a replacement.
@@ -2428,7 +2382,7 @@ set_buffer_line_list(void *data, int argc, Scheme_Object **argv)
/*
* (insert-buff-line-list {linenr} {string/string-list} [buffer])
*
* Insert a number of lines into the specified buffer after the specifed line.
* Insert a number of lines into the specified buffer after the specified line.
* The line number is in Vim format (1-based). The lines to be inserted are
* given as an MzScheme list of string objects or as a single string. The lines
* to be added are checked for validity and correct format. Errors are

View File

@@ -78,7 +78,7 @@
/* Functions private to this file */
static void workshop_connection_closed(void);
static void messageFromEserve(XtPointer clientData, int *NOTUSED1, XtInputId *NOTUSED2);
static void messageFromEserve(XtPointer clientData, int *dum1, XtInputId *dum2);
static void workshop_disconnect(void);
static void workshop_sensitivity(int num, char *table);
static void adjust_sign_name(char *filename);
@@ -157,9 +157,10 @@ getCommand(void)
}
/*ARGSUSED*/
void
messageFromEserve(XtPointer clientData, int *NOTUSED1, XtInputId *NOTUSED2)
messageFromEserve(XtPointer clientData UNUSED,
int *dum1 UNUSED,
XtInputId *dum2 UNUSED)
{
char *cmd; /* the 1st word of the command */
@@ -199,7 +200,7 @@ messageFromEserve(XtPointer clientData, int *NOTUSED1, XtInputId *NOTUSED2)
if (sign) {
sign++;
}
/* Change sign name to accomodate a different size? */
/* Change sign name to accommodate a different size? */
adjust_sign_name(sign);
workshop_add_mark_type(idx, color, sign);
}
@@ -580,7 +581,7 @@ unrecognised_message(
#endif
/* Change sign name to accomodate a different size:
/* Change sign name to accommodate a different size:
* Create the filename based on the height. The filename format
* of multisize icons are:
* x.xpm : largest icon
@@ -614,6 +615,7 @@ adjust_sign_name(char *filename)
strcpy(s, ".xpm");
}
#if 0
/* Were we invoked by WorkShop? This function can be used early during startup
if you want to do things differently if the editor is started standalone
or in WorkShop mode. For example, in standalone mode you may not want to
@@ -627,6 +629,7 @@ workshop_invoked()
}
return result;
}
#endif
/* Connect back to eserve */
void workshop_connect(XtAppContext context)
@@ -750,6 +753,7 @@ void workshop_disconnect()
* Utility functions
*/
#if 0
/* Set icon for the window */
void
workshop_set_icon(Display *display, Widget shell, char **xpmdata,
@@ -793,6 +797,7 @@ workshop_set_icon(Display *display, Widget shell, char **xpmdata,
}
XtFree((char *)xpmAttributes.colorsymbols);
}
#endif
/* Minimize and maximize shells. From libutil's shell.cc. */
@@ -927,7 +932,7 @@ Boolean workshop_get_width_height(int *width, int *height)
return success;
}
#if 0
Boolean workshop_get_rows_cols(int *rows, int *cols)
{
static int r = 0;
@@ -958,6 +963,7 @@ Boolean workshop_get_rows_cols(int *rows, int *cols)
}
return success;
}
#endif
/*
* Toolbar code
@@ -1043,12 +1049,11 @@ void workshop_set_option_first(char *name, char *value)
}
#if 0
/*
* Send information to eserve on certain editor events
* You must make sure these are called when necessary
*/
void workshop_file_closed(char *filename)
{
char buffer[2*MAXPATHLEN];
@@ -1056,6 +1061,7 @@ void workshop_file_closed(char *filename)
NOCATGETS("deletedFile %s\n"), filename);
write(sd, buffer, strlen(buffer));
}
#endif
void workshop_file_closed_lineno(char *filename, int lineno)
{
@@ -1086,14 +1092,7 @@ void workshop_file_saved(char *filename)
workshop_moved_marks(filename);
}
void workshop_move_mark(char *filename, int markId, int newLineno)
{
char buffer[2*MAXPATHLEN];
vim_snprintf(buffer, sizeof(buffer),
NOCATGETS("moveMark %s %d %d\n"), filename, markId, newLineno);
write(sd, buffer, strlen(buffer));
}
#if 0
void workshop_file_modified(char *filename)
{
char buffer[2*MAXPATHLEN];
@@ -1102,6 +1101,15 @@ void workshop_file_modified(char *filename)
write(sd, buffer, strlen(buffer));
}
void workshop_move_mark(char *filename, int markId, int newLineno)
{
char buffer[2*MAXPATHLEN];
vim_snprintf(buffer, sizeof(buffer),
NOCATGETS("moveMark %s %d %d\n"), filename, markId, newLineno);
write(sd, buffer, strlen(buffer));
}
#endif
void workshop_frame_moved(int new_x, int new_y, int new_w, int new_h)
{
char buffer[200];
@@ -1179,10 +1187,12 @@ void workshop_perform_verb(char *verb, void *clientData)
}
/* Send a message to eserve */
#if defined(NOHANDS_SUPPORT_FUNCTIONS) || defined(FEAT_BEVAL)
void workshop_send_message(char *buf)
{
write(sd, buf, strlen(buf));
}
#endif
/* Some methods, like currentFile, cursorPos, etc. are missing here.
* But it looks like these are used for NoHands testing only so we

View File

@@ -366,14 +366,21 @@ main
* Check if the GUI can be started. Reset gui.starting if not.
* Don't know about other systems, stay on the safe side and don't check.
*/
if (gui.starting && gui_init_check() == FAIL)
if (gui.starting)
{
gui.starting = FALSE;
if (gui_init_check() == FAIL)
{
gui.starting = FALSE;
/* When running "evim" or "gvim -y" we need the menus, exit if we
* don't have them. */
if (params.evim_mode)
mch_exit(1);
/* When running "evim" or "gvim -y" we need the menus, exit if we
* don't have them. */
if (params.evim_mode)
mch_exit(1);
}
# if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
/* Re-initialize locale, it may have been altered by gui_init_check() */
init_locale();
# endif
}
# endif
#endif
@@ -3685,7 +3692,7 @@ cmdsrv_main(argc, argv, serverName_arg, serverStr)
}
else if (STRICMP(argv[i], "--servername") == 0)
{
/* Alredy processed. Take it out of the command line */
/* Already processed. Take it out of the command line */
i++;
continue;
}

View File

@@ -3470,7 +3470,9 @@ init_homedir()
homedrive = mch_getenv((char_u *)"HOMEDRIVE");
homepath = mch_getenv((char_u *)"HOMEPATH");
if (homedrive != NULL && homepath != NULL
if (homepath == NULL || *homepath == NUL)
homepath = "\\";
if (homedrive != NULL
&& STRLEN(homedrive) + STRLEN(homepath) < MAXPATHL)
{
sprintf((char *)NameBuff, "%s%s", homedrive, homepath);
@@ -4666,7 +4668,6 @@ concat_fnames(fname1, fname2, sep)
return dest;
}
#if defined(FEAT_EVAL) || defined(FEAT_GETTEXT) || defined(PROTO)
/*
* Concatenate two strings and return the result in allocated memory.
* Returns NULL when out of memory.
@@ -4687,7 +4688,6 @@ concat_str(str1, str2)
}
return dest;
}
#endif
/*
* Add a path separator to a file name, unless it already ends in a path

View File

@@ -528,6 +528,8 @@ check_cursor_col()
#endif
}
}
else if (curwin->w_cursor.col < 0)
curwin->w_cursor.col = 0;
#ifdef FEAT_VIRTUALEDIT
/* If virtual editing is on, we can leave the cursor on the old position,

View File

@@ -5602,6 +5602,7 @@ nv_ident(cap)
STRCAT(buf, "\\>");
#ifdef FEAT_CMDHIST
/* put pattern in search history */
init_history();
add_to_history(HIST_SEARCH, buf, TRUE, NUL);
#endif
normal_search(cap, cmdchar == '*' ? '/' : '?', buf, 0);

View File

@@ -13,8 +13,6 @@ win_T *get_valid_window __ARGS((void *));
void mzvim_check_threads __ARGS((void));
void mzvim_reset_timer __ARGS((void));
void *mzvim_eval_string __ARGS((char_u *str));
struct Scheme_Object *mzvim_apply __ARGS((struct Scheme_Object *, int argc,
struct Scheme_Object **));
int mzthreads_allowed __ARGS((void));
void mzscheme_main __ARGS((void));
/* vim: set ft=c : */

View File

@@ -206,7 +206,7 @@ typedef struct syn_pattern
static int current_attr = 0; /* attr of current syntax word */
#ifdef FEAT_EVAL
static int current_id = 0; /* ID of current char for syn_get_id() */
static int current_trans_id = 0; /* idem, transparancy removed */
static int current_trans_id = 0; /* idem, transparency removed */
#endif
typedef struct syn_cluster_S
@@ -282,7 +282,7 @@ typedef struct state_item
int si_idx; /* index of syntax pattern or
KEYWORD_IDX */
int si_id; /* highlight group ID for keywords */
int si_trans_id; /* idem, transparancy removed */
int si_trans_id; /* idem, transparency removed */
int si_m_lnum; /* lnum of the match */
int si_m_startcol; /* starting column of the match */
lpos_T si_m_endpos; /* just after end posn of the match */
@@ -1274,7 +1274,7 @@ syn_stack_cleanup()
dist = syn_buf->b_ml.ml_line_count / (syn_buf->b_sst_len - Rows) + 1;
/*
* Go throught the list to find the "tick" for the oldest entry that can
* Go through the list to find the "tick" for the oldest entry that can
* be removed. Set "above" when the "tick" for the oldest entry is above
* "b_sst_lasttick" (the display tick wraps around).
*/
@@ -2319,7 +2319,7 @@ syn_current_attr(syncing, displaying, can_spell, keep_state)
? (syn_buf->b_spell_cluster_id == 0)
: (syn_buf->b_syn_spell == SYNSPL_TOP);
/* nextgroup ends at end of line, unless "skipnl" or "skipemtpy" present */
/* nextgroup ends at end of line, unless "skipnl" or "skipempty" present */
if (current_next_list != NULL
&& syn_getcurline()[current_col + 1] == NUL
&& !(current_next_flags & (HL_SKIPNL | HL_SKIPEMPTY)))
@@ -6108,7 +6108,7 @@ syn_get_id(wp, lnum, col, trans, spellp, keep_state)
win_T *wp;
long lnum;
colnr_T col;
int trans; /* remove transparancy */
int trans; /* remove transparency */
int *spellp; /* return: can do spell checking */
int keep_state; /* keep state of char at "col" */
{
@@ -7523,7 +7523,7 @@ highlight_clear(idx)
#if defined(FEAT_GUI) || defined(PROTO)
/*
* Set the normal foreground and background colors according to the "Normal"
* highlighighting group. For X11 also set "Menu", "Scrollbar", and
* highlighting group. For X11 also set "Menu", "Scrollbar", and
* "Tooltip" colors.
*/
void
@@ -8647,6 +8647,7 @@ syn_add_group(name)
if (!vim_isprintc(*p))
{
EMSG(_("E669: Unprintable character in group name"));
vim_free(name);
return 0;
}
else if (!ASCII_ISALNUM(*p) && *p != '_')

View File

@@ -681,6 +681,34 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
327,
/**/
326,
/**/
325,
/**/
324,
/**/
323,
/**/
322,
/**/
321,
/**/
320,
/**/
319,
/**/
318,
/**/
317,
/**/
316,
/**/
315,
/**/
314,
/**/
313,
/**/

View File

@@ -56,12 +56,12 @@ static void load_buffer_by_number(int, int);
static void load_window(char *, int lnum);
static void warp_to_pc(int);
#ifdef FEAT_BEVAL
void workshop_beval_cb(BalloonEval *, int);
void workshop_beval_cb(BalloonEval *, int);
static int computeIndex(int, char_u *, int);
#endif
static char *fixAccelText(char *);
static void addMenu(char *, char *, char *);
static char *lookupVerb(char *, int);
static int computeIndex(int, char_u *, int);
static void coloncmd(char *, Boolean);
extern Widget vimShell;
@@ -1624,8 +1624,6 @@ workshop_beval_cb(
}
}
}
#endif
static int
computeIndex(
@@ -1649,6 +1647,7 @@ computeIndex(
return -1;
}
#endif
static void
addMenu(