neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 2d7599248b9e02dca7828593028f8adff7191294
parent 788eb654941efe1f725143d7e1bc9b5236ecbb37
Author: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
Date:   Fri, 23 Dec 2022 14:13:58 +0100

vim-patch:9.0.1089: unnecessary assignment (#21493)

Problem:    unnecessary assignment
Solution:   Remove the assignment. (Luuk van Baal, closes vim/vim#11736)

https://github.com/vim/vim/commit/c53e7904b9ac559c7ad6e3acb136027d10aed54e
Diffstat:
Msrc/nvim/memline.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/nvim/memline.c b/src/nvim/memline.c @@ -281,7 +281,6 @@ int ml_open(buf_T *buf) buf->b_ml.ml_mfp = mfp; buf->b_ml.ml_flags = ML_EMPTY; buf->b_ml.ml_line_count = 1; - curwin->w_nrwidth_line_count = 0; // fill block0 struct and write page 0 hp = mf_new(mfp, false, 1);