aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-01-20 21:23:17 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-02-07 16:43:51 +0100
commit37f8df882463431888dbaf205ce3ea6488cf4702 (patch)
tree4ebb1634d1d0e16ae3d16d56c22e63602ef0efe4 /runtime
parented0e96cd28f870c4a580c9e8ab74340fecc90fcb (diff)
downloadrneovim-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 'runtime')
-rw-r--r--runtime/doc/options.txt10
-rw-r--r--runtime/doc/vim_diff.txt1
2 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index d0643bf5ed..315ca24835 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4486,6 +4486,16 @@ A jump table for the options with a short description can be found at |Q_op|.
Insert mode completion. When zero as much space as available is used.
|ins-completion-menu|.
+ *'pumblend'* *'pb'*
+'pumblend' 'pb' number (default 0)
+ global
+ Enables semi-transparency for the completion popupmenu. Valid values
+ are in the range from 0 for fully opaque popupmenu (disabled) to 100
+ for fully transparent background. Lower values 0-30 are typically most
+ useful.
+
+ UI-dependent. Supported by TUI with 'termguicolors' enabled.
+
*'pyxversion'* *'pyx'*
'pyxversion' 'pyx' number (default depends on the build)
global
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 33260ab53b..ae0bd2fdb2 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -189,6 +189,7 @@ Options:
for |hl-EndOfBuffer| marker
'inccommand' shows interactive results for |:substitute|-like commands
'listchars' local to window
+ 'pumblend' semi-transparent popupmenu
'scrollback'
'statusline' supports unlimited alignment sections
'tabline' %@Func@foo%X can call any function on mouse-click