diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-06-10 12:16:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-06-10 12:16:47 +0200 |
commit | d710e0d2478e7f813562bfb084406d524bfecd19 (patch) | |
tree | d500457e4d8aec616911a0caf783d20a0ea62ec5 /src/normal.c | |
parent | 6e8d3b0d41bcef7ebe0ba2e887eb25781e1437fe (diff) | |
download | vim-git-d710e0d2478e7f813562bfb084406d524bfecd19.tar.gz |
patch 7.4.738v7.4.738
Problem: Can't compile without the syntax highlighting feature.
Solution: Add #ifdef around use of w_p_cul. (Hirohito Higashi)
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c index 38a9f81b4..dc223c2ae 100644 --- a/src/normal.c +++ b/src/normal.c @@ -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); } } |