diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-08-12 12:00:36 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-10-30 10:21:18 +0100 |
commit | 13841a56b4b4916a2f18e66f97cb6f5e55d40e53 (patch) | |
tree | d537cb37ba929552d8b2156288dac602458be27a /src/nvim/eval.c | |
parent | 6143cfdeec4e67cdf73879b92fe2a80b5b36bc1b (diff) | |
download | rneovim-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/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 512555eac1..508bdac46d 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -7703,7 +7703,7 @@ static void f_bufnr(typval_T *argvars, typval_T *rettv, FunPtr fptr) && !error && (name = get_tv_string_chk(&argvars[0])) != NULL && !error) - buf = buflist_new(name, NULL, (linenr_T)1, 0); + buf = buflist_new(name, NULL, (linenr_T)1, 0, 0); if (buf != NULL) rettv->vval.v_number = buf->b_fnum; |