diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-01-20 21:23:17 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-02-07 16:43:51 +0100 |
commit | 37f8df882463431888dbaf205ce3ea6488cf4702 (patch) | |
tree | 4ebb1634d1d0e16ae3d16d56c22e63602ef0efe4 /src/nvim/options.lua | |
parent | ed0e96cd28f870c4a580c9e8ab74340fecc90fcb (diff) | |
download | rneovim-37f8df882463431888dbaf205ce3ea6488cf4702.tar.gz rneovim-37f8df882463431888dbaf205ce3ea6488cf4702.tar.bz2 rneovim-37f8df882463431888dbaf205ce3ea6488cf4702.zip |
UI: implement 'pumblend' option for semi-transparent popupmenu
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.
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -1806,6 +1806,14 @@ return { 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'}, secure=true, |