Add :nbstart and :nbclose.
diff --git a/src/buffer.c b/src/buffer.c
index 0569f16..531e4b9 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -636,8 +636,7 @@
buf_delete_signs(buf); /* delete any signs */
#endif
#ifdef FEAT_NETBEANS_INTG
- if (usingNetbeans)
- netbeans_file_killed(buf);
+ netbeans_file_killed(buf);
#endif
#ifdef FEAT_LOCALMAP
map_clear_int(buf, MAP_ALL_MODES, TRUE, FALSE); /* clear local mappings */
@@ -1447,8 +1446,7 @@
#ifdef FEAT_NETBEANS_INTG
/* Send fileOpened event because we've changed buffers. */
- if (usingNetbeans && isNetbeansBuffer(curbuf))
- netbeans_file_activated(curbuf);
+ netbeans_file_activated(curbuf);
#endif
/* Change directories when the 'acd' option is set. */