Mercurial > vim
changeset 29830:b5bd6521f417 v9.0.0254
patch 9.0.0254: typo in function name
Commit: https://github.com/vim/vim/commit/5fb3aabc2b0edd5573e107bb3bc103c348771f61
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Aug 24 16:48:23 2022 +0100
patch 9.0.0254: typo in function name
Problem: Typo in function name.
Solution: Rename the function. (closes https://github.com/vim/vim/issues/10971)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Aug 2022 18:00:05 +0200 |
parents | d3040694216f |
children | fe6c602bd8ee |
files | src/insexpand.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/insexpand.c +++ b/src/insexpand.c @@ -1495,7 +1495,7 @@ theend: * skipping the word at 'skip_word'. Returns OK on success. */ static int -thesarurs_add_words_in_line( +thesaurus_add_words_in_line( char_u *fname, char_u **buf_arg, int dir, @@ -1598,7 +1598,7 @@ ins_compl_files( { // For a thesaurus, add all the words in the line ptr = buf; - add_r = thesarurs_add_words_in_line(files[i], &ptr, *dir, + add_r = thesaurus_add_words_in_line(files[i], &ptr, *dir, regmatch->startp[0]); } if (add_r == OK) @@ -2083,7 +2083,7 @@ set_ctrl_x_mode(int c) ctrl_x_mode = CTRL_X_FILES; break; case Ctrl_K: - // complete words from a dictinoary + // complete words from a dictionary ctrl_x_mode = CTRL_X_DICTIONARY; break; case Ctrl_R: