diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-17 18:25:32 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-17 18:25:32 +0200 |
commit | d8c9340fc67ca19f82ec3e77ec38296424e758cf (patch) | |
tree | 40b666497cc92fc44b37316b8454aac1f1957441 /src/proto/cmdexpand.pro | |
parent | 84ac2126f470569c770cd22a52f8d48c50cd42a1 (diff) |
patch 9.1.0495: Matched text isn't highlighted in cmdline pumv9.1.0495
Problem: Matched text isn't highlighted in cmdline pum.
Solution: Use cmdline completion pattern in cmdline mode.
(zeertzjq)
closes: #15029
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/proto/cmdexpand.pro')
-rw-r--r-- | src/proto/cmdexpand.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/cmdexpand.pro b/src/proto/cmdexpand.pro index 100c23d66a..dfa6d1b96b 100644 --- a/src/proto/cmdexpand.pro +++ b/src/proto/cmdexpand.pro @@ -6,6 +6,8 @@ int cmdline_pum_active(void); void cmdline_pum_remove(void); void cmdline_pum_cleanup(cmdline_info_T *cclp); int cmdline_compl_startcol(void); +char_u *cmdline_compl_pattern(void); +int cmdline_compl_is_fuzzy(void); char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode); void ExpandInit(expand_T *xp); void ExpandCleanup(expand_T *xp); |