From 5a53ec5c2fdab10ca8775d3979b1a85e63d57953 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Thu, 1 Jul 2021 02:41:58 -0700 Subject: feat: Consistent and sensible layout_config (#922) * feat: Consistent and sensible layout_config * [docgen] Update doc/telescope.txt skip-checks: true * [WIP]: Thu 17 Jun 2021 03:36:44 PM EDT * [WIP]: Thu 17 Jun 2021 03:38:11 PM EDT * layout_default -> layout_defaults * remove options from bug repot * Conni2461 suggestions: part 1 * [docgen] Update doc/telescope.txt skip-checks: true * Conni2461 suggestions: part 2 * [docgen] Update doc/telescope.txt skip-checks: true * Linting * Improve deprecation checks - Move `layout_defaults` handling to `deprecated.lua` - Check for "layout keys" outside of `layout_config` on `setup` * fixup: Just add a few more words Co-authored-by: Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> Co-authored-by: Github Actions --- lua/telescope/make_entry.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/telescope/make_entry.lua') diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua index 96be07f..c451805 100644 --- a/lua/telescope/make_entry.lua +++ b/lua/telescope/make_entry.lua @@ -249,6 +249,8 @@ function make_entry.gen_from_git_stash() end function make_entry.gen_from_git_commits(opts) + opts = opts or {} + local displayer = entry_display.create { separator = " ", items = { -- cgit v1.2.3