feat: sort_mru for builtin buffers (#1028)

:help builtin.buffers
This commit is contained in:
Simon Hauser
2021-07-19 09:10:06 +02:00
committed by GitHub
parent 8c3f2b630b
commit 46e03a935f
3 changed files with 12 additions and 3 deletions

View File

@@ -659,9 +659,12 @@ builtin.buffers({opts}) *builtin.buffers()*
{only_cwd} (boolean) if true, only show buffers in the
current working directory (default
false)
{sort_lastused} (boolean) if true, sort the shown buffers so
that the last used one is selected
{sort_lastused} (boolean) Sorts current and last buffer to the
top and selects the lastused
(default false)
{sort_mru} (boolean) Sorts all buffers after most recent
used. Not just the current and last
one (default false)
{bufnr_width} (number) Defines the width of the buffer
numbers in front of the filenames