diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-01-17 14:34:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 14:34:27 +0800 |
commit | 2093e574c6c934a718f96d0a173aa965d3958a8b (patch) | |
tree | 06770bda995170000c71e1fbd0b73adb4b52e515 /src/nvim/quickfix.c | |
parent | f6929ea51d21034c6ed00d68a727c2c7cd7ec6ac (diff) | |
parent | 15e42dd4498829e5315b9b0da7384bedf466d707 (diff) | |
download | rneovim-2093e574c6c934a718f96d0a173aa965d3958a8b.tar.gz rneovim-2093e574c6c934a718f96d0a173aa965d3958a8b.tar.bz2 rneovim-2093e574c6c934a718f96d0a173aa965d3958a8b.zip |
Merge pull request #21850 from zeertzjq/vim-8.2.4463
vim-patch:8.2.{4463,4465,4475,4477,4478,4479,4608}: fuzzy cmdline builtin completion
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index c895ac16f1..3d09fa1030 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -5230,8 +5230,7 @@ static bool vgr_match_buflines(qf_list_T *qfl, char *fname, buf_T *buf, char *sp const size_t sz = sizeof(matches) / sizeof(matches[0]); // Fuzzy string match - while (fuzzy_match((char_u *)str + col, (char_u *)spat, false, &score, matches, - (int)sz) > 0) { + while (fuzzy_match(str + col, spat, false, &score, matches, (int)sz) > 0) { // Pass the buffer number so that it gets used even for a // dummy buffer, unless duplicate_name is set, then the // buffer will be wiped out below. |