aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/buffer_defs.h2
-rw-r--r--src/nvim/option.c2
-rw-r--r--src/nvim/screen.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 575de4d0cb..d5fb2df52b 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -1231,7 +1231,6 @@ struct window_S {
int trail;
int *multispace;
int conceal;
- int colorcol;
} w_p_lcs_chars;
// 'fillchars' characters. Defaults set in set_chars_option().
@@ -1246,6 +1245,7 @@ struct window_S {
int diff;
int msgsep;
int eob;
+ int colorcol;
} w_p_fcs_chars;
/*
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 8846a26849..80f74f9d4a 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -3542,6 +3542,7 @@ static char *set_chars_option(win_T *wp, char_u **varp, bool set)
{ &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", NUL },
};
struct chars_tab lcs_tab[] = {
{ &wp->w_p_lcs_chars.eol, "eol", NUL },
@@ -3553,7 +3554,6 @@ static char *set_chars_option(win_T *wp, char_u **varp, bool set)
{ &wp->w_p_lcs_chars.lead, "lead", NUL },
{ &wp->w_p_lcs_chars.trail, "trail", NUL },
{ &wp->w_p_lcs_chars.conceal, "conceal", NUL },
- { &wp->w_p_lcs_chars.colorcol, "colorcol", NUL },
};
if (varp == &p_lcs || varp == &wp->w_p_lcs) {
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index f083065b4c..3c91d764bf 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -4182,7 +4182,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool noc
} else if (draw_color_col && VCOL_HLC == *color_cols) {
col_attr = mc_attr;
// Draw the colorcolumn character.
- c = wp->w_p_lcs_chars.colorcol;
+ c = wp->w_p_fcs_chars.colorcol;
schar_from_char(linebuf_char[off], c);
}