summaryrefslogtreecommitdiffstats
path: root/src/netbeans.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/netbeans.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index 3b68869..781caa8 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -1689,8 +1689,10 @@ nb_do_cmd(
if (streq((char *)args, "T") && buf->bufp != curbuf)
{
exarg_T exarg;
+ CLEAR_FIELD(exarg);
exarg.cmd = (char_u *)"goto";
exarg.forceit = FALSE;
+ exarg.cmdidx = CMD_USER;
dosetvisible = TRUE;
goto_buffer(&exarg, DOBUF_FIRST, FORWARD, buf->bufp->b_fnum);
do_update = 1;