diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-15 08:10:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-15 08:10:21 +0800 |
commit | 8051fa1aff24952b9d077ba44bc2b84fd1626345 (patch) | |
tree | 1471237a96e2ef38db915b67b7f1f6257bf9ced5 /src/nvim/spellfile.c | |
parent | 758d7726df1cabd3ed93403e087dab93fc3ceba7 (diff) | |
parent | 5220891571a799fd630cbcbe836d1f9e3d2dc1fa (diff) | |
download | rneovim-8051fa1aff24952b9d077ba44bc2b84fd1626345.tar.gz rneovim-8051fa1aff24952b9d077ba44bc2b84fd1626345.tar.bz2 rneovim-8051fa1aff24952b9d077ba44bc2b84fd1626345.zip |
Merge pull request #17394 from zeertzjq/vim-8.2.4343
vim-patch:8.2.4343: when reloading not all properties are detected
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); |