comparison src/spellfile.c @ 27635:6ca2d8f4cd32 v8.2.4343

patch 8.2.4343: when reloading not all properties are detected Commit: https://github.com/vim/vim/commit/8196e94a8b72ed8618605cb66615571313097d78 Author: Rob Pilling <robpilling@gmail.com> Date: Fri Feb 11 15:12:10 2022 +0000 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 https://github.com/vim/vim/issues/9579)
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Feb 2022 16:15:03 +0100
parents 41e0dcf38521
children c1d1639b52dd
comparison
equal deleted inserted replaced
27634:9fe2fed9bb4b 27635:6ca2d8f4cd32
6334 // Update the .add.spl file. 6334 // Update the .add.spl file.
6335 mkspell(1, &fname, FALSE, TRUE, TRUE); 6335 mkspell(1, &fname, FALSE, TRUE, TRUE);
6336 6336
6337 // If the .add file is edited somewhere, reload it. 6337 // If the .add file is edited somewhere, reload it.
6338 if (buf != NULL) 6338 if (buf != NULL)
6339 buf_reload(buf, buf->b_orig_mode); 6339 buf_reload(buf, buf->b_orig_mode, FALSE);
6340 6340
6341 redraw_all_later(SOME_VALID); 6341 redraw_all_later(SOME_VALID);
6342 } 6342 }
6343 vim_free(fnamebuf); 6343 vim_free(fnamebuf);
6344 } 6344 }