0
0
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:
Bram Moolenaar
2015-06-10 12:16:47 +02:00
parent 6e8d3b0d41
commit d710e0d247
3 changed files with 10 additions and 6 deletions

View File

@@ -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);
}
}