diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-24 16:48:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-24 16:48:23 +0100 |
commit | 5fb3aabc2b0edd5573e107bb3bc103c348771f61 (patch) | |
tree | 397cddfbd1c450fac5b69ec91603aa82d1124a9a /src/insexpand.c | |
parent | 753885b6c5b9021184daa94d32fd8bf025f1b488 (diff) |
patch 9.0.0254: typo in function namev9.0.0254
Problem: Typo in function name.
Solution: Rename the function. (closes #10971)
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index fc3eff0713..1ff1c99b7e 100644 --- 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: |