fix(spell): make setting 'encoding' clear word list

This commit is contained in:
zeertzjq
2022-06-26 21:18:56 +08:00
parent f0d4007f62
commit 6711d001c5
2 changed files with 3 additions and 3 deletions

View File

@@ -2596,6 +2596,8 @@ ambw_end:
// only encoding=utf-8 allowed
if (STRCMP(p_enc, "utf-8") != 0) {
errmsg = e_unsupportedoption;
} else {
spell_reload();
}
}
}