diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-05-05 17:32:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-05-05 17:32:44 +0200 |
commit | 1701e4069b94d8d03d02a9a6af99c48d360853cd (patch) | |
tree | dd8ff6a67ec8e3c664080cf6ba2887029e03ac41 /src/buffer.c | |
parent | 8f4ba6942d888c708cc1c85f7cb77cebb957c878 (diff) | |
download | vim-1701e4069b94d8d03d02a9a6af99c48d360853cd.zip |
updated for version 7.3.175
Problem: When 'colorcolumn' is set locally to a window, ":new" opens a
window with the same highlighting but 'colorcolumn' is empty.
(Tyru)
Solution: Call check_colorcolumn() after clearing and copying options.
(Christian Brabandt)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index f92512983..254331ef2 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2527,6 +2527,9 @@ get_winopts(buf) if (p_fdls >= 0) curwin->w_p_fdl = p_fdls; #endif +#ifdef FEAT_SYN_HL + check_colorcolumn(curwin); +#endif } /* |