diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-14 19:53:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-14 19:53:30 +0200 |
commit | 1a38442dbc01e511c29e19faa2ee9a8527151887 (patch) | |
tree | 1aacc128778656b1a778326ee63cf2d28f7f3072 /src/window.c | |
parent | b28ebbca8400dccfc5eb9957ed96fcba9fe05e46 (diff) | |
download | vim-git-1a38442dbc01e511c29e19faa2ee9a8527151887.tar.gz |
Added 'colorcolumn' option. Partly by Gregor Uhlenheuer.
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index c2590e5f9..2c780dfb5 100644 --- a/src/window.c +++ b/src/window.c @@ -1225,6 +1225,10 @@ win_init(newp, oldp, flags) # endif win_init_some(newp, oldp); + +# ifdef FEAT_SYN_HL + check_colorcolumn(newp); +# endif } /* @@ -4413,6 +4417,7 @@ win_free(wp, tp) #ifdef FEAT_SYN_HL reset_synblock(wp); /* free independent synblock */ + vim_free(wp->w_p_cc_cols); #endif #ifdef FEAT_AUTOCMD |