mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 18:53:12 +02:00
spell: allow overriding dictionaries locations
Works for aspell and myspell (hunspell) when using enchant.
This commit is contained in:
committed by
Sébastien Helleu
parent
d91039ebd0
commit
6b19987e7f
@@ -157,6 +157,9 @@ spell_command_speller_list_dicts (void)
|
||||
NULL);
|
||||
#else
|
||||
config = new_aspell_config ();
|
||||
#ifdef ASPELL_DICT_DIR
|
||||
aspell_config_replace (config, "dict-dir", ASPELL_DICT_DIR);
|
||||
#endif
|
||||
list = get_aspell_dict_info_list (config);
|
||||
elements = aspell_dict_info_list_elements (list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user