updated for version 7.3.819
Problem: Compiling without +eval and with Python isn't working.
Solution: Add the eval feature when building with Python.
diff --git a/src/normal.c b/src/normal.c
index b7f3dd4..c79b67b 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -2292,7 +2292,9 @@
{
#ifdef FEAT_EVAL
char_u *(argv[1]);
+# ifdef FEAT_VIRTUALEDIT
int save_virtual_op = virtual_op;
+# endif
if (*p_opfunc == NUL)
EMSG(_("E774: 'operatorfunc' is empty"));
@@ -2312,13 +2314,17 @@
else
argv[0] = (char_u *)"char";
+# ifdef FEAT_VIRTUALEDIT
/* Reset virtual_op so that 'virtualedit' can be changed in the
* function. */
virtual_op = MAYBE;
+# endif
(void)call_func_retnr(p_opfunc, 1, argv, FALSE);
+# ifdef FEAT_VIRTUALEDIT
virtual_op = save_virtual_op;
+# endif
}
#else
EMSG(_("E775: Eval feature not available"));