spell.h (754B)
1 #pragma once 2 3 #include <stdbool.h> 4 5 #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep 6 #include "nvim/spell_defs.h" // IWYU pragma: keep 7 #include "nvim/vim_defs.h" // IWYU pragma: keep 8 9 /// First language that is loaded, start of the linked list of loaded languages. 10 extern slang_T *first_lang; 11 12 /// file used for "zG" and "zW" 13 extern char *int_wordlist; 14 15 extern spelltab_T spelltab; 16 extern bool did_set_spelltab; 17 18 extern char *e_format; 19 20 // Remember what "z?" replaced. 21 extern char *repl_from; 22 extern char *repl_to; 23 24 /// Values for behaviour in spell_move_to 25 typedef enum { 26 SMT_ALL = 0, ///< Move to "all" words 27 SMT_BAD, ///< Move to "bad" words only 28 SMT_RARE, ///< Move to "rare" words only 29 } smt_T; 30 31 #include "spell.h.generated.h"