aspell: set a misspelled word without suggestions in local variable "aspell_suggest" (closes #1288)
This commit is contained in:
parent
5a681f3c5e
commit
68bdc5fb09
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user