patch 9.0.2025: no cmdline completion for ++opt args
Problem: no cmdline completion for ++opt args
Solution: Add cmdline completion for :e ++opt=arg and :terminal
[++options]
closes: #13319
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
diff --git a/src/structs.h b/src/structs.h
index 3f461f8..f7f3b2e 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -603,7 +603,8 @@
*/
typedef struct expand
{
- char_u *xp_pattern; // start of item to expand
+ char_u *xp_pattern; // start of item to expand, guaranteed
+ // to be part of xp_line
int xp_context; // type of expansion
int xp_pattern_len; // bytes in xp_pattern before cursor
xp_prefix_T xp_prefix;