feat: Allow filtering for oldfiles and buffers (#2353)

This commit is contained in:
Svetlozar Iliev
2023-01-30 19:09:29 +02:00
committed by GitHub
parent d5f6c0911d
commit 5dfd807771
3 changed files with 12 additions and 2 deletions

View File

@@ -1214,6 +1214,8 @@ builtin.oldfiles({opts}) *telescope.builtin.oldfiles()*
{opts} (table) options to pass to the picker
Options: ~
{cwd} (string) specify a working directory to filter oldfiles
by
{only_cwd} (boolean) show only files in the cwd (default: false)
{cwd_only} (boolean) alias for only_cwd
@@ -1301,6 +1303,8 @@ builtin.buffers({opts}) *telescope.builtin.buffers()*
{opts} (table) options to pass to the picker
Options: ~
{cwd} (string) specify a working directory to
filter buffers list by
{show_all_buffers} (boolean) if true, show all buffers,
including unloaded buffers
(default: true)