diff options
author | Nils Görs <weechatter@arcor.de> | 2019-01-26 22:38:22 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-01-26 22:38:22 +0100 |
commit | 68bdc5fb09919891bbd5e6ab2dbb8b419293fece (patch) | |
tree | bb20598f8ceaadbb55b5adc98c44ef60411edf1e /src/plugins | |
parent | 5a681f3c5e8cd473ef63c0cea92b201d3239caa4 (diff) | |
download | weechat-68bdc5fb09919891bbd5e6ab2dbb8b419293fece.zip |
aspell: set a misspelled word without suggestions in local variable "aspell_suggest" (closes #1288)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/aspell/weechat-aspell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/aspell/weechat-aspell.c b/src/plugins/aspell/weechat-aspell.c index 7e17e9d47..7e8249d4e 100644 --- a/src/plugins/aspell/weechat-aspell.c +++ b/src/plugins/aspell/weechat-aspell.c @@ -894,7 +894,9 @@ weechat_aspell_modifier_cb (const void *pointer, void *data, } else { - weechat_buffer_set (buffer, "localvar_del_aspell_suggest", ""); + /* set a misspelled word in buffer, also without suggestions */ + weechat_buffer_set (buffer, "localvar_set_aspell_suggest", + word_for_suggestions); } free (word_for_suggestions); } |