aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellfile.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-15 08:10:21 +0800
committerGitHub <noreply@github.com>2022-02-15 08:10:21 +0800
commit8051fa1aff24952b9d077ba44bc2b84fd1626345 (patch)
tree1471237a96e2ef38db915b67b7f1f6257bf9ced5 /src/nvim/spellfile.c
parent758d7726df1cabd3ed93403e087dab93fc3ceba7 (diff)
parent5220891571a799fd630cbcbe836d1f9e3d2dc1fa (diff)
downloadrneovim-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.c2
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);