1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | size_t spell_check(win_T *wp, char_u *ptr, hlf_T *attrp, int *capcol, _Bool docount ); |
7 | size_t spell_move_to(win_T *wp, int dir, _Bool allwords, _Bool curline, hlf_T *attrp ); |
8 | void spell_cat_line(char_u *buf, char_u *line, int maxlen); |
9 | char_u *spell_enc(void); |
10 | slang_T *slang_alloc(char_u *lang); |
11 | void slang_free(slang_T *lp); |
12 | void slang_clear(slang_T *lp); |
13 | void slang_clear_sug(slang_T *lp); |
14 | void count_common_word(slang_T *lp, char_u *word, int len, int count); |
15 | _Bool byte_in_str(char_u *str, int n); |
16 | int init_syl_tab(slang_T *slang); |
17 | char_u *did_set_spelllang(win_T *wp); |
18 | int captype(char_u *word, char_u *end) FUNC_ATTR_NONNULL_ARG(1); |
19 | void spell_delete_wordlist(void); |
20 | void spell_free_all(void); |
21 | void spell_reload(void); |
22 | buf_T *open_spellbuf(void); |
23 | void close_spellbuf(buf_T *buf); |
24 | void clear_spell_chartab(spelltab_T *sp); |
25 | void init_spell_chartab(void); |
26 | _Bool spell_iswordp_nmw(const char_u *p, win_T *wp); |
27 | int spell_casefold(char_u *str, int len, char_u *buf, int buflen); |
28 | int spell_check_sps(void); |
29 | void spell_suggest(int count); |
30 | void ex_spellrepall(exarg_T *eap); |
31 | void spell_suggest_list(garray_T *gap, char_u *word, int maxcount, _Bool need_cap, _Bool interactive ); |
32 | void onecap_copy(char_u *word, char_u *wcopy, _Bool upper); |
33 | char *eval_soundfold(const char *const word) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_ALL; |
34 | void spell_soundfold(slang_T *slang, char_u *inword, _Bool folded, char_u *res); |
35 | void ex_spellinfo(exarg_T *eap); |
36 | void ex_spelldump(exarg_T *eap); |
37 | void spell_dump_compl(char_u *pat, int ic, int *dir, int dumpflags_arg ); |
38 | char_u *spell_to_word_end(char_u *start, win_T *win); |
39 | int spell_word_start(int startcol); |
40 | void spell_expand_check_cap(colnr_T col); |
41 | int expand_spelling(linenr_T lnum, char_u *pat, char_u ***matchp); |
42 | #include "nvim/func_attr.h" |
43 | |