mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
shada: Move setpcmark()/cleanup_jumplist() out of the cycle
This commit is contained in:
@@ -2618,10 +2618,9 @@ static ShaDaWriteResult shada_write(ShaDaWriteDef *const sd_writer,
|
||||
|
||||
// Initialize jump list
|
||||
const void *jump_iter = NULL;
|
||||
setpcmark();
|
||||
cleanup_jumplist();
|
||||
do {
|
||||
setpcmark();
|
||||
cleanup_jumplist();
|
||||
|
||||
xfmark_T fm;
|
||||
jump_iter = mark_jumplist_iter(jump_iter, curwin, &fm);
|
||||
|
||||
|
Reference in New Issue
Block a user