mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
fix(spell): make setting 'encoding' clear word list
This commit is contained in:
@@ -2596,6 +2596,8 @@ ambw_end:
|
||||
// only encoding=utf-8 allowed
|
||||
if (STRCMP(p_enc, "utf-8") != 0) {
|
||||
errmsg = e_unsupportedoption;
|
||||
} else {
|
||||
spell_reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user