mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
vim-patch:9.1.0797: testing of options can be further improved (#30893)
Problem: testing of options can be further improved
Solution: split the generated option test into test_options_all.vim,
add more test cases, save and restore values, fix use-after-free
closes: vim/vim#15894
6eca04e9f1
Co-authored-by: Milly <milly.ca@gmail.com>
This commit is contained in:
@@ -777,7 +777,11 @@ void getout(int exitval)
|
||||
}
|
||||
}
|
||||
|
||||
if (p_shada && *p_shada != NUL) {
|
||||
if (
|
||||
#ifdef EXITFREE
|
||||
!entered_free_all_mem &&
|
||||
#endif
|
||||
p_shada && *p_shada != NUL) {
|
||||
// Write out the registers, history, marks etc, to the ShaDa file
|
||||
shada_write_file(NULL, false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user