summaryrefslogtreecommitdiff
path: root/lua/telescope/pickers.lua
diff options
context:
space:
mode:
authorakiyosi <akiyoshi.maruyama@gmail.com>2021-11-28 18:57:08 +0900
committerGitHub <noreply@github.com>2021-11-28 09:57:08 +0000
commited4adba6d0083a14cabf5837f2511b2617a45593 (patch)
tree75c8162c8eb568ec5cac36614ab2dd398482e483 /lua/telescope/pickers.lua
parent492f1d38f6676287d1ea8c5326d0e71054c66a12 (diff)
fix: Border window also need to be winblend due to window overlap in multigrid UI (#1421)
Diffstat (limited to 'lua/telescope/pickers.lua')
-rw-r--r--lua/telescope/pickers.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua
index 7b879cb..618a6e1 100644
--- a/lua/telescope/pickers.lua
+++ b/lua/telescope/pickers.lua
@@ -291,6 +291,9 @@ function Picker:_create_window(bufnr, popup_opts, nowrap)
a.nvim_win_set_option(win, "wrap", false)
end
local border_win = opts and opts.border and opts.border.win_id
+ if border_win then
+ a.nvim_win_set_option(border_win, "winblend", self.window.winblend)
+ end
return win, opts, border_win
end