diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-12-19 18:36:42 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-12-19 18:36:42 +0100 |
commit | a9a1b9f83d890e87206a4935763f31584b304d73 (patch) | |
tree | 3fa6da9e3a5fbd1dacb9135acbe8f82a0ea17bed /src/plugins/aspell/weechat-aspell-config.c | |
parent | 13e3f3c7f04a805568ebb9a044d81d1eb32aedd6 (diff) | |
download | weechat-a9a1b9f83d890e87206a4935763f31584b304d73.zip |
Add aspell option to check mispelled words during text search in buffer (disabled by default)
Diffstat (limited to 'src/plugins/aspell/weechat-aspell-config.c')
-rw-r--r-- | src/plugins/aspell/weechat-aspell-config.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/aspell/weechat-aspell-config.c b/src/plugins/aspell/weechat-aspell-config.c index 57bd11033..92c254533 100644 --- a/src/plugins/aspell/weechat-aspell-config.c +++ b/src/plugins/aspell/weechat-aspell-config.c @@ -41,6 +41,7 @@ struct t_config_option *weechat_aspell_config_look_color; struct t_config_option *weechat_aspell_config_check_commands; struct t_config_option *weechat_aspell_config_check_default_dict; struct t_config_option *weechat_aspell_config_check_word_min_length; +struct t_config_option *weechat_aspell_config_check_during_search; char **weechat_aspell_commands_to_check = NULL; @@ -308,6 +309,11 @@ weechat_aspell_config_init () N_("minimum length for a word to be spell checked (use 0 to check all " "words)"), NULL, 0, INT_MAX, "2", NULL, NULL, NULL, NULL, NULL, NULL, NULL); + weechat_aspell_config_check_during_search = weechat_config_new_option ( + weechat_aspell_config_file, ptr_section, + "during_search", "boolean", + N_("check words during text search in buffer"), + NULL, 0, 0, "off", NULL, NULL, NULL, NULL, NULL, NULL, NULL); /* dict */ ptr_section = weechat_config_new_section (weechat_aspell_config_file, "dict", |