return vimvars[idx].vv_nr;
}
-#if defined(FEAT_AUTOCMD) || defined(PROTO)
/*
* Get string v: variable value. Uses a static buffer, can only be used once.
*/
{
return get_tv_string(&vimvars[idx].vv_tv);
}
-#endif
/*
* Set v:count, v:count1 and v:prevcount.
#ifdef FEAT_BROWSE
if (cmdmod.browse)
{
+# ifdef FEAT_AUTOCMD
if (
-# ifdef FEAT_GUI
+# ifdef FEAT_GUI
!gui.in_use &&
-# endif
+# endif
au_has_group((char_u *)"FileExplorer"))
{
/* No browsing supported but we do have the file explorer:
ffname = (char_u *)".";
}
else
+# endif
{
browse_file = do_browse(0, (char_u *)_("Edit File"), ffname,
NULL, NULL, NULL, curbuf);
# endif
&& eap->cmdidx != CMD_new)
{
+# ifdef FEAT_AUTOCMD
if (
-# ifdef FEAT_GUI
+# ifdef FEAT_GUI
!gui.in_use &&
-# endif
+# endif
au_has_group((char_u *)"FileExplorer"))
{
/* No browsing supported but we do have the file explorer:
eap->arg = (char_u *)".";
}
else
+# endif
{
fname = do_browse(0, (char_u *)_("Edit File in new window"),
eap->arg, NULL, NULL, NULL, curbuf);
# endif
# endif
# if defined(FEAT_AUTOCMD)
- p->indir == PV_FT)
+ p->indir == PV_FT
# endif
+ )
{
if (fprintf(fd, "if &%s != '%s'", p->fullname,
*(char_u **)(varp)) < 0
char_u *save_ei = NULL;
#endif
aco_save_T aco;
-#ifdef FEAT_AUTOCMD
- char_u *au_name = NULL;
int flags = 0;
colnr_T col;
long tomatch;
char_u dirname_start[MAXPATHL];
char_u dirname_now[MAXPATHL];
char_u *target_dir = NULL;
+#ifdef FEAT_AUTOCMD
+ char_u *au_name = NULL;
switch (eap->cmdidx)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 16,
/**/
15,
/**/