neovim

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

commit cbadb39d16c15b2a3d4f9a122644b3d61ba2d494
parent a9418ef8cfc00943fcd6f8f2236783442e09e91b
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu, 24 Aug 2023 11:46:07 +0800

fix(plines.c): initialize cts_max_head_vcol (#24855)


Diffstat:
Msrc/nvim/plines.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/nvim/plines.c b/src/nvim/plines.c @@ -319,6 +319,7 @@ void init_chartabsize_arg(chartabsize_T *cts, win_T *wp, linenr_T lnum, colnr_T cts->cts_vcol = col; cts->cts_line = line; cts->cts_ptr = ptr; + cts->cts_max_head_vcol = 0; cts->cts_cur_text_width_left = 0; cts->cts_cur_text_width_right = 0; cts->cts_has_virt_text = false;