diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-01-17 13:23:38 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-01-17 14:01:26 +0800 |
commit | 5ce6685119419c08475a65b6e48b4487be5c6036 (patch) | |
tree | 858d3d740a79af13729543b62146ba09e5f084c6 /src/nvim/search.c | |
parent | 245522db1eb294007066878492d19295a5e91f04 (diff) | |
download | rneovim-5ce6685119419c08475a65b6e48b4487be5c6036.tar.gz rneovim-5ce6685119419c08475a65b6e48b4487be5c6036.tar.bz2 rneovim-5ce6685119419c08475a65b6e48b4487be5c6036.zip |
vim-patch:8.2.4479: no fuzzy completieon for maps and abbreviations
Problem: No fuzzy completieon for maps and abbreviations.
Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
closes vim/vim#9856)
https://github.com/vim/vim/commit/6caeda2fce4bccac2dd43ca9fee1d32ee96b708d
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/nvim/search.c')
-rw-r--r-- | src/nvim/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index ee99efed5d..205eec8b35 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -3472,7 +3472,7 @@ int fuzzy_match_str(char *const str, const char *const pat) int score = 0; uint32_t matchpos[MAX_FUZZY_MATCHES]; - fuzzy_match(str, pat, false, &score, matchpos, sizeof(matchpos) / sizeof(matchpos[0])); + fuzzy_match(str, pat, true, &score, matchpos, sizeof(matchpos) / sizeof(matchpos[0])); return score; } |