1
0
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:
Joe Hermaszewski
2018-04-03 21:39:01 +08:00
committed by Sébastien Helleu
parent d91039ebd0
commit 6b19987e7f
5 changed files with 25 additions and 0 deletions
+3
View File
@@ -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);