mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
feat(shada): don't store jumplist if '0 in 'shada'
This commit is contained in:
@@ -2396,8 +2396,10 @@ static ShaDaWriteResult shada_write(FileDescriptor *const sd_writer,
|
||||
} while (var_iter != NULL);
|
||||
}
|
||||
|
||||
// Initialize jump list
|
||||
wms->jumps_size = shada_init_jumps(wms->jumps, &removable_bufs);
|
||||
if (num_marked_files > 0) { // Skip if '0 in 'shada'
|
||||
// Initialize jump list
|
||||
wms->jumps_size = shada_init_jumps(wms->jumps, &removable_bufs);
|
||||
}
|
||||
|
||||
const bool search_highlighted = !(no_hlsearch
|
||||
|| find_shada_parameter('h') != NULL);
|
||||
|
Reference in New Issue
Block a user