forked from aniani/vim
patch 8.1.2225: the "last used" info of a buffer is under used
Problem: The "last used" info of a buffer is under used. Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used field. (Andi Massimino, closes #4722)
This commit is contained in:
@@ -6987,6 +6987,8 @@ check_opt_wim(void)
|
||||
new_wim_flags[idx] |= WIM_FULL;
|
||||
else if (i == 4 && STRNCMP(p, "list", 4) == 0)
|
||||
new_wim_flags[idx] |= WIM_LIST;
|
||||
else if (i == 8 && STRNCMP(p, "lastused", 8) == 0)
|
||||
new_wim_flags[idx] |= WIM_BUFLASTUSED;
|
||||
else
|
||||
return FAIL;
|
||||
p += i;
|
||||
|
Reference in New Issue
Block a user