Mercurial > vim
diff src/move.c @ 9852:4eea48b76d03 v7.4.2201
commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 12 18:29:59 2016 +0200
patch 7.4.2201
Problem: The sign column disappears when the last sign is deleted.
Solution: Add the 'signcolumn' option. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 12 Aug 2016 18:45:06 +0200 |
parents | fd9727ae3c49 |
children | 4aead6a9b7a9 |
line wrap: on
line diff
--- 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 ); }