diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-20 00:05:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 00:05:32 +0200 |
commit | ebd57209018ed310836a8196ed4710e64a6d8ee5 (patch) | |
tree | ea1ec2a1816fb4dbbb034b4851c39eb389d9310b /src/nvim/ex_getln.c | |
parent | b2f979b30beac67906b2dd717fcb6a34f46f5e54 (diff) | |
parent | 6adc2ae7e0d86f7b2a4292a666eeaa50a1473915 (diff) | |
download | rneovim-ebd57209018ed310836a8196ed4710e64a6d8ee5.tar.gz rneovim-ebd57209018ed310836a8196ed4710e64a6d8ee5.tar.bz2 rneovim-ebd57209018ed310836a8196ed4710e64a6d8ee5.zip |
Merge pull request #19841 from bfredl/drawstatus
refactor: move statusline code from buffer.c and [draw]screen.c to new file
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index c15d85967d..776bdd935b 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -4264,7 +4264,7 @@ char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode compl_selected = findex; cmdline_pum_display(false); } else if (p_wmnu) { - win_redr_status_matches(xp, xp->xp_numfiles, xp->xp_files, findex, cmd_showtail); + redraw_wildmenu(xp, xp->xp_numfiles, xp->xp_files, findex, cmd_showtail); } if (findex == -1) { return vim_strsave(orig_save); @@ -4679,7 +4679,7 @@ static int showmatches(expand_T *xp, int wildmenu) if (got_int) { got_int = false; // only int. the completion, not the cmd line } else if (wildmenu) { - win_redr_status_matches(xp, num_files, files_found, -1, showtail); + redraw_wildmenu(xp, num_files, files_found, -1, showtail); } else { // find the length of the longest file name maxlen = 0; @@ -4791,7 +4791,7 @@ static int showmatches(expand_T *xp, int wildmenu) return EXPAND_OK; } -/// Private path_tail for showmatches() (and win_redr_status_matches()): +/// Private path_tail for showmatches() (and redraw_wildmenu()): /// Find tail of file name path, but ignore trailing "/". char *sm_gettail(char *s, bool eager) { |