diff options
author | Martin Tournoij <martin@arp242.net> | 2022-10-13 22:12:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-13 22:12:15 +0100 |
commit | ba43e76fcd5b2da57dbaa4d9a555793fe8ac344e (patch) | |
tree | 46d248575c130e6c338dc0aac5f66eabe2c2fef4 /src/drawline.c | |
parent | 856c5d2bc7c3864f8b63a0ab3e376d5c5e51f1d5 (diff) |
patch 9.0.0747: too many #ifdefsv9.0.0747
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330)
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c index bc39442132..b2a5951435 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -1075,7 +1075,7 @@ win_line( int get_term_attr = FALSE; #endif -#ifdef FEAT_SYN_HL +#if defined(FEAT_SYN_HL) || defined(FEAT_DIFF) // margin columns for the screen line, needed for when 'cursorlineopt' // contains "screenline" int left_curline_col = 0; @@ -1089,6 +1089,8 @@ win_line( #if defined(FEAT_CONCEAL) || defined(FEAT_SEARCH_EXTRA) int match_conc = 0; // cchar for match functions +#endif +#if defined(FEAT_CONCEAL) || defined(FEAT_SEARCH_EXTRA) || defined(FEAT_LINEBREAK) int on_last_col = FALSE; #endif #ifdef FEAT_CONCEAL |