From 654b11aa08e54255a55625e6bca514b9659b7896 Mon Sep 17 00:00:00 2001 From: Ben Smith <37027883+smithbm2316@users.noreply.github.com> Date: Mon, 31 May 2021 02:12:18 +0000 Subject: Change the `show_all_buffers` option to true by default for `buffers` picker (#858) * show_all_buffers true by default, added docs * [docgen] Update doc/telescope.txt skip-checks: true * fix for docs, used param instead of field oops * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions --- lua/telescope/builtin/init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/telescope/builtin/init.lua') diff --git a/lua/telescope/builtin/init.lua b/lua/telescope/builtin/init.lua index 2dd384a..9958919 100644 --- a/lua/telescope/builtin/init.lua +++ b/lua/telescope/builtin/init.lua @@ -207,6 +207,9 @@ builtin.reloader = require('telescope.builtin.internal').reloader --- Lists open buffers in current neovim instance, opens selected buffer on `` ---@param opts table: options to pass to the picker +---@field show_all_buffers boolean: if true, show all buffers, including unloaded buffers (default true) +---@field ignore_current_buffer boolean: if true, don't show the current buffer in the list (default false) +---@field only_cwd boolean: if true, only show buffers in the current working directory (default false) builtin.buffers = require('telescope.builtin.internal').buffers --- Lists available colorschemes and applies them on `` -- cgit v1.2.3