summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-04 17:17:11 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-04 17:17:11 +0200
commit9ed96efb3d47d46e9637da04656efff715102407 (patch)
tree8b9cf45d9c39b274a81ad5d96710518c4feb84ac /src/netbeans.c
parent703a8044b5393d37d355b0b1054a9a5a13912a3f (diff)
downloadvim-git-9ed96efb3d47d46e9637da04656efff715102407.tar.gz
patch 7.4.1891v7.4.1891
Problem: Channel reading very long lines is slow. Solution: Collapse multiple buffers until a NL is found.
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index a80067f43..3eaf2a2b8 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -399,7 +399,7 @@ netbeans_parse_messages(void)
/* Command isn't complete. If there is no following buffer,
* return (wait for more). If there is another buffer following,
* prepend the text to that buffer and delete this one. */
- if (channel_collapse(nb_channel, PART_SOCK) == FAIL)
+ if (channel_collapse(nb_channel, PART_SOCK, TRUE) == FAIL)
return;
}
else