From 20b99bc54b3ee051cf617f1a1cbf3b01165aa39a Mon Sep 17 00:00:00 2001 From: Aquib <77913442+tamton-aquib@users.noreply.github.com> Date: Sat, 9 Oct 2021 21:01:59 +0530 Subject: [PATCH] adding the pumblend property to floating pum window (#310) * adding the pumblend property to floating pum window * setting pumblend value directly --- lua/cmp/view/custom_entries_view.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/cmp/view/custom_entries_view.lua b/lua/cmp/view/custom_entries_view.lua index 2c9be31..918e4d7 100644 --- a/lua/cmp/view/custom_entries_view.lua +++ b/lua/cmp/view/custom_entries_view.lua @@ -26,6 +26,7 @@ custom_entries_view.new = function() self.entries_win:option('foldenable', false) self.entries_win:option('wrap', false) self.entries_win:option('scrolloff', 0) + self.entries_win:option('winblend', vim.opt.pumblend:get()) self.entries_win:option('winhighlight', 'Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None') self.event = event.new() self.offset = -1