adding the pumblend property to floating pum window (#310)

* adding the pumblend property to floating pum window

* setting pumblend value directly
This commit is contained in:
Aquib
2021-10-09 21:01:59 +05:30
committed by GitHub
parent 2bf240502c
commit 20b99bc54b

View File

@@ -26,6 +26,7 @@ custom_entries_view.new = function()
self.entries_win:option('foldenable', false) self.entries_win:option('foldenable', false)
self.entries_win:option('wrap', false) self.entries_win:option('wrap', false)
self.entries_win:option('scrolloff', 0) 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.entries_win:option('winhighlight', 'Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None')
self.event = event.new() self.event = event.new()
self.offset = -1 self.offset = -1