diff src/edit.c @ 6689:97cc4ee3e095 v7.4.669

updated for version 7.4.669 Problem: When netbeans is active the sign column always shows up. Solution: Only show the sign column once a sign has been added. (Xavier de Gaye)
author Bram Moolenaar <bram@vim.org>
date Fri, 20 Mar 2015 18:11:48 +0100
parents 21719d38d2ff
children c939d19bd86e
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -6687,7 +6687,7 @@ comp_textwidth(ff)
 #ifdef FEAT_SIGNS
 	if (curwin->w_buffer->b_signlist != NULL
 # ifdef FEAT_NETBEANS_INTG
-			    || netbeans_active()
+			  || curwin->w_buffer->b_has_sign_column
 # endif
 		    )
 	    textwidth -= 1;