diff src/buffer.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 342568f82d82
children 50cdebea094f
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5473,6 +5473,10 @@ insert_sign(buf, prev, next, id, lnum, t
 
 	    /* first sign in signlist */
 	    buf->b_signlist = newsign;
+#ifdef FEAT_NETBEANS_INTG
+	    if (netbeans_active())
+		buf->b_has_sign_column = TRUE;
+#endif
 	}
 	else
 	    prev->next = newsign;