From 95ec9d6a6ab3117d60ff638670a803d43974ba51 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 12 Aug 2016 18:29:59 +0200 Subject: patch 7.4.2201 Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt) --- src/move.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/move.c') 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 ); } -- cgit v1.2.1