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:
@@ -1771,6 +1771,10 @@ struct file_buffer
|
||||
long b_mtime_read; /* last change time when reading */
|
||||
off_T b_orig_size; /* size of original file in bytes */
|
||||
int b_orig_mode; /* mode of original file */
|
||||
#ifdef FEAT_VIMINFO
|
||||
time_T b_last_used; /* time when the buffer was last used; used
|
||||
* for viminfo */
|
||||
#endif
|
||||
|
||||
pos_T b_namedm[NMARKS]; /* current named marks (mark.c) */
|
||||
|
||||
|
Reference in New Issue
Block a user