aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index bc95980afe..e8af356654 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -383,9 +383,7 @@ int main(int argc, char **argv)
* This is where v:oldfiles gets filled.
*/
if (*p_shada != NUL) {
- (void) shada_read_file(NULL, (kShaDaWantInfo
- | kShaDaGetOldfiles
- | kShaDaWantMarks));
+ shada_read_everything(NULL, false);
TIME_MSG("reading ShaDa");
}
/* It's better to make v:oldfiles an empty list than NULL. */