From 8c5bf8c7467cf28da2ac5de4f2eaa966f02b2b48 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Mon, 31 Aug 2020 18:12:51 -0400 Subject: wip: Messing around w/ ffi for some stuff --- lua/telescope/pickers.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lua/telescope/pickers.lua') diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index e75f43e..e6b3570 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -68,6 +68,12 @@ function Picker:new(opts) selection_strategy = opts.selection_strategy, window = { + -- TODO: This won't account for different layouts... + height = get_default(opts.height, 0.8), + preview_width = get_default(opts.preview_width, 0.8), + results_width = get_default(opts.results_width, 0.8), + + -- Border config border = get_default(opts.border, {}), borderchars = get_default(opts.borderchars, { '─', '│', '─', '│', '┌', '┐', '┘', '└'}), }, @@ -235,7 +241,7 @@ function Picker:find() return end - log.trace("Processing result... ", entry) + log.info("Processing result... ", entry) local sort_ok, sort_score = nil, 0 if sorter then -- cgit v1.2.3