Skip to content

Commit c9b303e

Browse files
committed
Merge pull request #228 from macvim-dev/fix/netbeans
Workaround for NetBeans (NetBeans support will be removed soon)
2 parents b31c3c3 + f8c8ee5 commit c9b303e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/netbeans.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,14 @@ netbeans_parse_messages(void)
427427
}
428428
}
429429

430+
/* TODO: remove */
431+
void
432+
netbeans_read()
433+
{
434+
if (nb_channel_idx >= 0)
435+
channel_read(nb_channel_idx);
436+
}
437+
430438
/*
431439
* Handle one NUL terminated command.
432440
*

src/proto/netbeans.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* netbeans.c */
22
void netbeans_parse_messages(void);
3+
void netbeans_read(void);
34
int isNetbeansBuffer(buf_T *bufp);
45
int isNetbeansModified(buf_T *bufp);
56
void netbeans_end(void);

0 commit comments

Comments
 (0)