summaryrefslogtreecommitdiff
path: root/lua/telescope/pickers.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-08-31 18:12:51 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-08-31 18:12:51 -0400
commit8c5bf8c7467cf28da2ac5de4f2eaa966f02b2b48 (patch)
tree759150e002a4237cabea5469973323eb7d0cbe7c /lua/telescope/pickers.lua
parente38589f265a276d431113efcef6fdb157120ce68 (diff)
wip: Messing around w/ ffi for some stuff
Diffstat (limited to 'lua/telescope/pickers.lua')
-rw-r--r--lua/telescope/pickers.lua8
1 files changed, 7 insertions, 1 deletions
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