mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
docs: typo fixes (#17859)
Co-authored-by: Elias Alves Moura <eliamoura.alves@gmail.com> Co-authored-by: venkatesh <shariharanvenkatesh@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Vikas Raj <24727447+numToStr@users.noreply.github.com> Co-authored-by: Steve Vermeulen <sfvermeulen@gmail.com> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: rwxd <rwxd@pm.me> Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
This commit is contained in:
@@ -3944,10 +3944,8 @@ static void ml_updatechunk(buf_T *buf, linenr_T line, long len, int updtype)
|
||||
} else if (buf->b_ml.ml_chunksize[curix].mlcs_numlines >= MLCS_MINL
|
||||
&& curix == buf->b_ml.ml_usedchunks - 1
|
||||
&& buf->b_ml.ml_line_count - line <= 1) {
|
||||
/*
|
||||
* We are in the last chunk and it is cheap to crate a new one
|
||||
* after this. Do it now to avoid the loop above later on
|
||||
*/
|
||||
// We are in the last chunk and it is cheap to create a new one
|
||||
// after this. Do it now to avoid the loop above later on
|
||||
curchnk = buf->b_ml.ml_chunksize + curix + 1;
|
||||
buf->b_ml.ml_usedchunks++;
|
||||
if (line == buf->b_ml.ml_line_count) {
|
||||
|
Reference in New Issue
Block a user