summaryrefslogtreecommitdiff
path: root/lua/telescope/pickers.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-09-22 12:50:03 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-09-22 12:50:03 -0400
commite43efc389e2ae76bd9baa0cad9b8140e77646765 (patch)
tree48955bb029757331dfa9ef284d06526593fb2a6b /lua/telescope/pickers.lua
parent941fb160c5397e243e55f55d1f01608b0b360a6e (diff)
fix: Don't pass anything if word match is empty
Diffstat (limited to 'lua/telescope/pickers.lua')
-rw-r--r--lua/telescope/pickers.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua
index a321858..ef75b7f 100644
--- a/lua/telescope/pickers.lua
+++ b/lua/telescope/pickers.lua
@@ -296,9 +296,8 @@ function Picker:find()
-- TODO: We need to center this and make it prettier...
local prompt_win, prompt_opts = popup.create('', popup_opts.prompt)
local prompt_bufnr = a.nvim_win_get_buf(prompt_win)
- a.nvim_win_set_option(prompt_win, 'winblend', self.window.winblend)
-
a.nvim_win_set_option(prompt_win, 'winhl', 'Normal:TelescopeNormal')
+ a.nvim_win_set_option(prompt_win, 'winblend', self.window.winblend)
-- a.nvim_buf_set_option(prompt_bufnr, 'buftype', 'prompt')
-- vim.fn.prompt_setprompt(prompt_bufnr, prompt_string)