From daa55ee86df76dee028947db527a4f999569f5f8 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 31 Jan 2023 23:07:51 +0000 Subject: feat(colorcolchar): remove existing colorcolumnchar in the fillchars. Make way for more flexibility --- src/nvim/buffer_defs.h | 1 - src/nvim/drawline.c | 2 +- src/nvim/screen.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 78ac10a7d6..f01edd1ad2 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -1175,7 +1175,6 @@ struct window_S { int diff; int msgsep; int eob; - int colorcol; int lastline; } w_p_fcs_chars; diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c index 28f19a95e0..66e24e960f 100644 --- a/src/nvim/drawline.c +++ b/src/nvim/drawline.c @@ -2521,7 +2521,7 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool nochange, col_attr = cuc_attr; } else if (draw_color_col && VCOL_HLC == *color_cols) { col_attr = mc_attr; - c = wp->w_p_fcs_chars.colorcol; + c = ' '; schar_from_char(linebuf_char[off], c); } diff --git a/src/nvim/screen.c b/src/nvim/screen.c index ba65a335e6..ebff52cd69 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -885,7 +885,6 @@ char *set_chars_option(win_T *wp, char **varp, bool apply) { &wp->w_p_fcs_chars.diff, "diff", '-' }, { &wp->w_p_fcs_chars.msgsep, "msgsep", ' ' }, { &wp->w_p_fcs_chars.eob, "eob", '~' }, - { &wp->w_p_fcs_chars.colorcol, "colorcol", ' ' }, { &wp->w_p_fcs_chars.lastline, "lastline", '@' }, }; -- cgit