Add :nbstart and :nbclose.
diff --git a/src/fileio.c b/src/fileio.c
index 8cf799d..7a697ee 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3309,7 +3309,7 @@
 #endif
 
 #ifdef FEAT_NETBEANS_INTG
-    if (usingNetbeans && isNetbeansBuffer(buf))
+    if (netbeans_active() && isNetbeansBuffer(buf))
     {
 	if (whole)
 	{