Mercurial > vim
diff src/structs.h @ 33555:46d449fd4fe4 v9.0.2025
patch 9.0.2025: no cmdline completion for ++opt args
Commit: https://github.com/vim/vim/commit/989426be6e9ae23d2413943890206cbe15d9df38
Author: Yee Cheng Chin <ychin.git@gmail.com>
Date: Sat Oct 14 11:46:51 2023 +0200
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Oct 2023 09:11:10 +0200 |
parents | 1299280b12db |
children | 31fb1a760ad6 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -603,7 +603,8 @@ typedef enum { */ 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;