Mercurial > vim
diff src/insexpand.c @ 28809:d0241e74bfdb v8.2.4928
patch 8.2.4928: various white space and cosmetic mistakes
Commit: https://github.com/vim/vim/commit/6ed545e79735f23ff8e650bc2f0967e5a0baedc9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 9 20:09:23 2022 +0100
patch 8.2.4928: various white space and cosmetic mistakes
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 May 2022 21:15:04 +0200 |
parents | d770568e6c98 |
children | 6cdf55afaae9 |
line wrap: on
line diff
--- a/src/insexpand.c +++ b/src/insexpand.c @@ -1966,8 +1966,8 @@ ins_compl_set_original_text(char_u *str) p = vim_strsave(str); if (p != NULL) { - vim_free(compl_first_match->cp_prev->cp_str); - compl_first_match->cp_prev->cp_str = p; + vim_free(compl_first_match->cp_prev->cp_str); + compl_first_match->cp_prev->cp_str = p; } } } @@ -3176,7 +3176,7 @@ typedef struct * st->first_match_pos - position of the first completion match * st->last_match_pos - position of the last completion match * st->set_match_pos - TRUE if the first match position should be saved to - * avoid loops after the search wraps around. + * avoid loops after the search wraps around. * st->dict - name of the dictionary or thesaurus file to search * st->dict_f - flag specifying whether "dict" is an exact file name or not *