0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.2.4565: no command line completion for :breakadd and :breakdel

Problem:    No command line completion for :breakadd and :breakdel.
Solution:   Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
            closes #9950)
This commit is contained in:
Bram Moolenaar
2022-03-14 19:24:46 +00:00
parent 129e33e44b
commit 6e2e2cc95b
8 changed files with 290 additions and 20 deletions

View File

@@ -508,7 +508,7 @@ spell_suggest(int count)
end_visual_mode();
// make sure we don't include the NUL at the end of the line
line = ml_get_curline();
if (badlen > STRLEN(line) - curwin->w_cursor.col)
if (badlen > (int)STRLEN(line) - (int)curwin->w_cursor.col)
badlen = STRLEN(line) - curwin->w_cursor.col;
}
// Find the start of the badly spelled word.