vim-patch:9.1.1319: Various typos in the code, issue with test_inst_complete.vim (#33527)

Problem:  Various typos in the code, redundant and strange use of
          :execute in test_ins_complete.vim (after 9.1.1315).
Solution: Fix typos in the code and in the documentation, use the
          executed command directly (zeertzjq).

closes: vim/vim#17143

98800979dc

Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
This commit is contained in:
zeertzjq
2025-04-19 07:23:20 +08:00
committed by GitHub
parent 9397fdafe1
commit c67398d31b
4 changed files with 6 additions and 6 deletions

View File

@@ -2916,7 +2916,7 @@ static void diff_refine_inline_char_highlight(diff_T *dp_orig, garray_T *linemap
} while (pass++ < 4); // use limited number of passes to avoid excessive looping
}
/// Find the inline difference within a diff block among differnt buffers. Do
/// Find the inline difference within a diff block among different buffers. Do
/// this by splitting each block's content into characters or words, and then
/// use internal xdiff to calculate the per-character/word diff. The result is
/// stored in dp instead of returned by the function.
@@ -4076,7 +4076,7 @@ void f_diff_hlID(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
diffline_T diffline = { 0 };
// Remember the results if using simple since it's recalculated per
// call. Otherwise just call diff_find_change() every time since
// internally the result is cached interally.
// internally the result is cached internally.
const bool cache_results = !(diff_flags & ALL_INLINE_DIFF);
linenr_T lnum = tv_get_lnum(argvars);