comparison src/structs.h @ 32846:757409cf4e8a v9.0.1735

patch 9.0.1735: Rename completion specific findex var Commit: https://github.com/vim/vim/commit/e9ef347c137aca6c2592beb19da45a8aece65e11 Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Aug 17 23:57:05 2023 +0200 patch 9.0.1735: Rename completion specific findex var Problem: Rename completion specific findex var Solution: Move "findex" static variable to xp_selected in expand_T closes: #12548 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Fri, 18 Aug 2023 00:15:04 +0200
parents 80152cf7ce63
children a39314fa9495
comparison
equal deleted inserted replaced
32845:e8eca84950e1 32846:757409cf4e8a
607 // characters need to be escaped 607 // characters need to be escaped
608 #endif 608 #endif
609 int xp_numfiles; // number of files found by 609 int xp_numfiles; // number of files found by
610 // file name completion 610 // file name completion
611 int xp_col; // cursor position in line 611 int xp_col; // cursor position in line
612 int xp_selected; // selected index in completion
612 char_u **xp_files; // list of files 613 char_u **xp_files; // list of files
613 char_u *xp_line; // text being completed 614 char_u *xp_line; // text being completed
614 #define EXPAND_BUF_LEN 256 615 #define EXPAND_BUF_LEN 256
615 char_u xp_buf[EXPAND_BUF_LEN]; // buffer for returned match 616 char_u xp_buf[EXPAND_BUF_LEN]; // buffer for returned match
616 } expand_T; 617 } expand_T;