mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1988
Problem: When updating viminfo with file marks there is no time order. Solution: Remember the time when a buffer was last used, store marks for the most recently used buffers.
This commit is contained in:
@@ -1272,6 +1272,9 @@ main_loop(
|
||||
#ifdef FEAT_TITLE
|
||||
if (need_maketitle)
|
||||
maketitle();
|
||||
#endif
|
||||
#ifdef FEAT_VIMINFO
|
||||
curbuf->b_last_used = vim_time();
|
||||
#endif
|
||||
/* display message after redraw */
|
||||
if (keep_msg != NULL)
|
||||
|
Reference in New Issue
Block a user