mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1481
Problem: Can't build with small features. Solution: Add #ifdef.
This commit is contained in:
@@ -3057,6 +3057,7 @@ do_in_runtimepath(
|
|||||||
return do_in_path(p_rtp, name, all ? DIP_ALL : 0, callback, cookie);
|
return do_in_path(p_rtp, name, all ? DIP_ALL : 0, callback, cookie);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef FEAT_AUTOCMD
|
||||||
/*
|
/*
|
||||||
* Source filetype detection scripts, if filetype.vim was already done.
|
* Source filetype detection scripts, if filetype.vim was already done.
|
||||||
*/
|
*/
|
||||||
@@ -3075,6 +3076,7 @@ may_do_filetypes(char_u *pat)
|
|||||||
}
|
}
|
||||||
vim_free(cmd);
|
vim_free(cmd);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
add_pack_plugin(char_u *fname, void *cookie)
|
add_pack_plugin(char_u *fname, void *cookie)
|
||||||
@@ -3160,7 +3162,9 @@ source_packages()
|
|||||||
{
|
{
|
||||||
do_in_path(p_pp, (char_u *)"pack/*/ever/*/plugin/*.vim",
|
do_in_path(p_pp, (char_u *)"pack/*/ever/*/plugin/*.vim",
|
||||||
DIP_ALL, add_pack_plugin, p_pp);
|
DIP_ALL, add_pack_plugin, p_pp);
|
||||||
|
#ifdef FEAT_AUTOCMD
|
||||||
may_do_filetypes((char_u *)"pack/*/ever/*/ftdetect/*.vim");
|
may_do_filetypes((char_u *)"pack/*/ever/*/ftdetect/*.vim");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -3181,8 +3185,10 @@ ex_loadplugin(exarg_T *eap)
|
|||||||
vim_snprintf(pat, len, plugpat, eap->arg);
|
vim_snprintf(pat, len, plugpat, eap->arg);
|
||||||
do_in_path(p_pp, (char_u *)pat, DIP_ALL, add_pack_plugin, p_pp);
|
do_in_path(p_pp, (char_u *)pat, DIP_ALL, add_pack_plugin, p_pp);
|
||||||
|
|
||||||
|
#ifdef FEAT_AUTOCMD
|
||||||
vim_snprintf(pat, len, ftpat, eap->arg);
|
vim_snprintf(pat, len, ftpat, eap->arg);
|
||||||
may_do_filetypes((char_u *)pat);
|
may_do_filetypes((char_u *)pat);
|
||||||
|
#endif
|
||||||
|
|
||||||
vim_free(pat);
|
vim_free(pat);
|
||||||
}
|
}
|
||||||
|
@@ -743,6 +743,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1481,
|
||||||
/**/
|
/**/
|
||||||
1480,
|
1480,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user