Problem: Can't build without the autocommand feature.
Solution: Add #ifdefs. (Yegappan Lakshmanan)
curwin->w_p_cole > 0
# endif
)
+# ifdef FEAT_AUTOCMD
&& !equalpos(last_cursormoved, curwin->w_cursor)
+# endif
# ifdef FEAT_INS_EXPAND
&& !pum_visible()
# endif
# ifdef FEAT_CONCEAL
if (curwin->w_p_cole > 0)
{
+# ifdef FEAT_AUTOCMD
conceal_old_cursor_line = last_cursormoved.lnum;
+# endif
conceal_new_cursor_line = curwin->w_cursor.lnum;
conceal_update_lines = TRUE;
}
# endif
+# ifdef FEAT_AUTOCMD
last_cursormoved = curwin->w_cursor;
+# endif
}
#endif
curwin->w_p_cole > 0
# endif
)
- && !equalpos(last_cursormoved, curwin->w_cursor))
+# ifdef FEAT_AUTOCMD
+ && !equalpos(last_cursormoved, curwin->w_cursor)
+# endif
+ )
{
# ifdef FEAT_AUTOCMD
if (has_cursormoved())
# ifdef FEAT_CONCEAL
if (curwin->w_p_cole > 0)
{
+# ifdef FEAT_AUTOCMD
conceal_old_cursor_line = last_cursormoved.lnum;
+# endif
conceal_new_cursor_line = curwin->w_cursor.lnum;
conceal_update_lines = TRUE;
}
# endif
+# ifdef FEAT_AUTOCMD
last_cursormoved = curwin->w_cursor;
+# endif
}
#endif
if (old_value != NULL)
old_value = vim_strsave(old_value);
+#ifdef FEAT_AUTOCMD
/* Apply the "syntax" autocommand event, this finds and loads the syntax
* file. */
apply_autocmds(EVENT_SYNTAX, eap->arg, curbuf->b_fname, TRUE, curbuf);
+#endif
/* move value of b:current_syntax to w:current_syntax */
new_value = get_var_value((char_u *)"b:current_syntax");
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1473,
/**/
1472,
/**/