comparison src/proto/spell.pro @ 31996:ca6bc7c04163 v9.0.1330

patch 9.0.1330: handling new value of an option has a long "else if" chain Commit: https://github.com/vim/vim/commit/af93691b53f38784efce0b93fe7644c44a7e382e Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Feb 20 12:16:39 2023 +0000 patch 9.0.1330: handling new value of an option has a long "else if" chain Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/12015)
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Feb 2023 13:30:05 +0100
parents 087c42245022
children 0632606a2530
comparison
equal deleted inserted replaced
31995:95971aa5e525 31996:ca6bc7c04163
14 void slang_clear(slang_T *lp); 14 void slang_clear(slang_T *lp);
15 void slang_clear_sug(slang_T *lp); 15 void slang_clear_sug(slang_T *lp);
16 void count_common_word(slang_T *lp, char_u *word, int len, int count); 16 void count_common_word(slang_T *lp, char_u *word, int len, int count);
17 int byte_in_str(char_u *str, int n); 17 int byte_in_str(char_u *str, int n);
18 int init_syl_tab(slang_T *slang); 18 int init_syl_tab(slang_T *slang);
19 char *did_set_spelllang(win_T *wp); 19 char *parse_spelllang(win_T *wp);
20 int captype(char_u *word, char_u *end); 20 int captype(char_u *word, char_u *end);
21 void spell_delete_wordlist(void); 21 void spell_delete_wordlist(void);
22 void spell_free_all(void); 22 void spell_free_all(void);
23 void spell_reload(void); 23 void spell_reload(void);
24 buf_T *open_spellbuf(void); 24 buf_T *open_spellbuf(void);