mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.738
Problem: Can't compile without the syntax highlighting feature. Solution: Add #ifdef around use of w_p_cul. (Hirohito Higashi)
This commit is contained in:
@@ -8487,9 +8487,11 @@ n_opencmd(cap)
|
||||
/* When '#' is in 'cpoptions' ignore the count. */
|
||||
if (vim_strchr(p_cpo, CPO_HASH) != NULL)
|
||||
cap->count1 = 1;
|
||||
#ifdef FEAT_SYN_HL
|
||||
if (curwin->w_p_cul)
|
||||
/* force redraw of cursorline */
|
||||
curwin->w_valid &= ~VALID_CROW;
|
||||
#endif
|
||||
invoke_edit(cap, FALSE, cap->cmdchar, TRUE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user