From 37f8df882463431888dbaf205ce3ea6488cf4702 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sun, 20 Jan 2019 21:23:17 +0100 Subject: UI: implement 'pumblend' option for semi-transparent popupmenu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Why? - Because we can. - Because the TUI is just another GUI™ - Because it looks kinda nice, and provides useful context like 1 out of 100 times Complies with "don't pay for what you don't use". Some crashes for resizing were unfolded, add tests for those. --- src/nvim/options.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 127c15dd5a..b8f128103c 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1805,6 +1805,14 @@ return { varname='p_ph', defaults={if_true={vi=0}} }, + { + full_name='pumblend', abbreviation='pb', + type='number', scope={'global'}, + vi_def=true, + redraw={'ui_option'}, + varname='p_pb', + defaults={if_true={vi=0}} + }, { full_name='pyxversion', abbreviation='pyx', type='number', scope={'global'}, -- cgit