0
0
mirror of https://github.com/vim/vim.git synced 2025-11-16 23:24:03 -05:00

patch 9.1.0467: typos in some comments

Problem:  typos in some comments
          (after v9.1.0466)
Solution: fix comments
          (zeertzjq)

closes: #14919

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-06-05 19:53:32 +02:00
committed by Christian Brabandt
parent 92f4e91590
commit 551d8c372e
3 changed files with 10 additions and 5 deletions

View File

@@ -1255,8 +1255,8 @@ ins_compl_build_pum(void)
do
{
// when completeopt include fuzzy option and leader is not null or empty
// set the cp_score for after compare.
// When 'completeopt' contains "fuzzy" and leader is not NULL or empty,
// set the cp_score for later comparisons.
if (compl_fuzzy_match && compl_leader != NULL && lead_len > 0)
compl->cp_score = fuzzy_match_str(compl->cp_str, compl_leader);
@@ -4082,7 +4082,7 @@ ins_compl_show_filename(void)
}
/*
* find a completion item in when completeopt include fuzzy option
* Find a completion item when 'completeopt' contains "fuzzy".
*/
static compl_T *
find_comp_when_fuzzy(void)