comparison src/edit.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 f17ba1c9d209
children 4aead6a9b7a9
comparison
equal deleted inserted replaced
9851:eafd017d8a5a 9852:4eea48b76d03
6759 #endif 6759 #endif
6760 #ifdef FEAT_FOLDING 6760 #ifdef FEAT_FOLDING
6761 textwidth -= curwin->w_p_fdc; 6761 textwidth -= curwin->w_p_fdc;
6762 #endif 6762 #endif
6763 #ifdef FEAT_SIGNS 6763 #ifdef FEAT_SIGNS
6764 if (curwin->w_buffer->b_signlist != NULL 6764 if (signcolumn_on(curwin))
6765 # ifdef FEAT_NETBEANS_INTG
6766 || curwin->w_buffer->b_has_sign_column
6767 # endif
6768 )
6769 textwidth -= 1; 6765 textwidth -= 1;
6770 #endif 6766 #endif
6771 if (curwin->w_p_nu || curwin->w_p_rnu) 6767 if (curwin->w_p_nu || curwin->w_p_rnu)
6772 textwidth -= 8; 6768 textwidth -= 8;
6773 } 6769 }