diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-14 11:35:25 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-02-14 11:35:25 +0800 |
commit | 5220891571a799fd630cbcbe836d1f9e3d2dc1fa (patch) | |
tree | be2ab5557a3b1aa02f0ad7b5c52d3441ed225a02 /src/nvim/spellfile.c | |
parent | 5d6bef0f6e5e6fc2daa12a0d7e1f5d63df59926e (diff) | |
download | rneovim-5220891571a799fd630cbcbe836d1f9e3d2dc1fa.tar.gz rneovim-5220891571a799fd630cbcbe836d1f9e3d2dc1fa.tar.bz2 rneovim-5220891571a799fd630cbcbe836d1f9e3d2dc1fa.zip |
vim-patch:8.2.4343: when reloading not all properties are detected
Problem: When reloading not all properties are detected.
Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes vim/vim#9579)
https://github.com/vim/vim/commit/8196e94a8b72ed8618605cb66615571313097d78
Cherry-pick some test changes from patch 8.1.1826.
Diffstat (limited to 'src/nvim/spellfile.c')
-rw-r--r-- | src/nvim/spellfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index f6b95f37b1..d7b220b3f6 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -5654,7 +5654,7 @@ void spell_add_word(char_u *word, int len, SpellAddType what, int idx, bool undo // If the .add file is edited somewhere, reload it. if (buf != NULL) { - buf_reload(buf, buf->b_orig_mode); + buf_reload(buf, buf->b_orig_mode, false); } redraw_all_later(SOME_VALID); |