mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
vim-patch:7.4.166
Problem: Auto-loading a function for code that won't be executed. Solution: Do not auto-load when evaluation is off. (Yasuhiro Matsumoto) https://code.google.com/p/vim/source/detail?r=5d03c374712128077ac4c342aad02120ed98df70
This commit is contained in:

committed by
Thiago de Arruda

parent
c298edd5dc
commit
0895bf8828
@@ -4514,7 +4514,7 @@ eval7 (
|
||||
if (**arg == '(') { /* recursive! */
|
||||
/* If "s" is the name of a variable of type VAR_FUNC
|
||||
* use its contents. */
|
||||
s = deref_func_name(s, &len, FALSE);
|
||||
s = deref_func_name(s, &len, !evaluate);
|
||||
|
||||
/* Invoke the function. */
|
||||
ret = get_func_tv(s, len, rettv, arg,
|
||||
|
@@ -221,6 +221,12 @@ static char *(features[]) = {
|
||||
|
||||
static int included_patches[] = {
|
||||
// Add new patch number below this line
|
||||
166,
|
||||
//165,
|
||||
//164,
|
||||
//163,
|
||||
//162,
|
||||
//161,
|
||||
160,
|
||||
159,
|
||||
158,
|
||||
|
Reference in New Issue
Block a user