diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-12 18:29:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-12 18:29:59 +0200 |
commit | 95ec9d6a6ab3117d60ff638670a803d43974ba51 (patch) | |
tree | c4bb7a90165db973560e11a681665cce6c60e8d3 /src/move.c | |
parent | d823fa910cca43fec3c31c030ee908a14c272640 (diff) | |
download | vim-git-95ec9d6a6ab3117d60ff638670a803d43974ba51.tar.gz |
patch 7.4.2201v7.4.2201
Problem: The sign column disappears when the last sign is deleted.
Solution: Add the 'signcolumn' option. (Christian Brabandt)
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/move.c b/src/move.c index 136263f22..a083c1c45 100644 --- a/src/move.c +++ b/src/move.c @@ -890,12 +890,7 @@ win_col_off(win_T *wp) + wp->w_p_fdc #endif #ifdef FEAT_SIGNS - + ( -# ifdef FEAT_NETBEANS_INTG - /* show glyph gutter in netbeans */ - wp->w_buffer->b_has_sign_column || -# endif - wp->w_buffer->b_signlist != NULL ? 2 : 0) + + (signcolumn_on(wp) ? 2 : 0) #endif ); } |