aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.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/window.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/window.c')
-rw-r--r--src/nvim/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 9c6a2e26a6..53bc484b48 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -2903,7 +2903,7 @@ static int win_alloc_firstwin(win_T *oldwin)
if (oldwin == NULL) {
/* Very first window, need to create an empty buffer for it and
* initialize from scratch. */
- curbuf = buflist_new(NULL, NULL, 1L, BLN_LISTED);
+ curbuf = buflist_new(NULL, NULL, 1L, BLN_LISTED, 0);
if (curbuf == NULL)
return FAIL;
curwin->w_buffer = curbuf;