diff options
Diffstat (limited to 'src/nvim/insexpand.c')
-rw-r--r-- | src/nvim/insexpand.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/insexpand.c b/src/nvim/insexpand.c index 0f29ae9806..ff4145c92d 100644 --- a/src/nvim/insexpand.c +++ b/src/nvim/insexpand.c @@ -572,7 +572,7 @@ bool ins_compl_accept_char(int c) /// Get the completed text by inferring the case of the originally typed text. /// If the result is in allocated memory "tofree" is set to it. -static char_u *ins_compl_infercase_gettext(char_u *str, int char_len, int compl_char_len, +static char_u *ins_compl_infercase_gettext(const char_u *str, int char_len, int compl_char_len, int min_len, char **tofree) { bool has_lower = false; @@ -1378,7 +1378,8 @@ theend: /// skipping the word at 'skip_word'. /// /// @return OK on success. -static int thesaurus_add_words_in_line(char *fname, char_u **buf_arg, int dir, char_u *skip_word) +static int thesaurus_add_words_in_line(char *fname, char_u **buf_arg, int dir, + const char_u *skip_word) { int status = OK; |