aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2016-08-12 12:00:36 +0200
committerKillTheMule <KillTheMule@users.noreply.github.com>2016-10-30 10:21:18 +0100
commit13841a56b4b4916a2f18e66f97cb6f5e55d40e53 (patch)
treed537cb37ba929552d8b2156288dac602458be27a /src/nvim/fileio.c
parent6143cfdeec4e67cdf73879b92fe2a80b5b36bc1b (diff)
downloadrneovim-13841a56b4b4916a2f18e66f97cb6f5e55d40e53.tar.gz
rneovim-13841a56b4b4916a2f18e66f97cb6f5e55d40e53.tar.bz2
rneovim-13841a56b4b4916a2f18e66f97cb6f5e55d40e53.zip
Incsubsitution feature
Originally implemented by * Clement0 * DesbyP * aym7 * Adrey06 * Robinhola in #4811. Major reworkings and bug fixes by * bfredl Most tests suggested by ZyX-l, suggestions for improvements by oni-link.
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index c0d4a71b35..3871a3ab78 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -5067,7 +5067,7 @@ void buf_reload(buf_T *buf, int orig_mode)
savebuf = NULL;
else {
/* Allocate a buffer without putting it in the buffer list. */
- savebuf = buflist_new(NULL, NULL, (linenr_T)1, BLN_DUMMY);
+ savebuf = buflist_new(NULL, NULL, (linenr_T)1, BLN_DUMMY, 0);
if (savebuf != NULL && buf == curbuf) {
/* Open the memline. */
curbuf = savebuf;