mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
Test and refactor shorten_fname
and shorten_fname1
Rename `shorten_fname` -> `path_shorten_fname` Rename `shorten_fname1` -> `path_shorten_fname_if_possible`
This commit is contained in:
@@ -2859,7 +2859,7 @@ void ex_vimgrep(exarg_T *eap)
|
||||
|
||||
seconds = (time_t)0;
|
||||
for (fi = 0; fi < fcount && !got_int && tomatch > 0; ++fi) {
|
||||
fname = shorten_fname1(fnames[fi]);
|
||||
fname = path_shorten_fname_if_possible(fnames[fi]);
|
||||
if (time(NULL) > seconds) {
|
||||
/* Display the file name every second or so, show the user we are
|
||||
* working on it. */
|
||||
|
Reference in New Issue
Block a user