summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-17 23:57:05 +0200
committerChristian Brabandt <cb@256bit.org>2023-08-17 23:57:05 +0200
commite9ef347c137aca6c2592beb19da45a8aece65e11 (patch)
tree73bc357d08974eb47fcea85c810956f4b205f87f /src/structs.h
parentbe5cdd1d634c2dfc7e415499fb18f4d246a8721c (diff)
patch 9.0.1735: Rename completion specific findex varv9.0.1735
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>
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 1b4308e6bb..d8c6aef956 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -609,6 +609,7 @@ typedef struct expand
int xp_numfiles; // number of files found by
// file name completion
int xp_col; // cursor position in line
+ int xp_selected; // selected index in completion
char_u **xp_files; // list of files
char_u *xp_line; // text being completed
#define EXPAND_BUF_LEN 256