diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-04-17 22:22:26 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-06-25 18:08:21 +0200 |
commit | 4c4d964eeb8d49a305306761eea406e1829b31ac (patch) | |
tree | ef3e0e9de2d022a1a96d59409813ef25f0341acc /runtime | |
parent | 027ebb23da0868655413e1850eb0b7d77e223850 (diff) | |
download | rneovim-4c4d964eeb8d49a305306761eea406e1829b31ac.tar.gz rneovim-4c4d964eeb8d49a305306761eea406e1829b31ac.tar.bz2 rneovim-4c4d964eeb8d49a305306761eea406e1829b31ac.zip |
ui: add 'winblend' to support blending of floating windows
Also add `hi blend=` attribute to override transparency of indiviual attributes.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 16 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 5 |
2 files changed, 21 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 212e686f96..53581179b6 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4513,6 +4513,13 @@ A jump table for the options with a short description can be found at |Q_op|. the range of 0 for fully opaque popupmenu (disabled) to 100 for fully transparent background. Values between 0-30 are typically most useful. + It is possible to override the level for individual highlights within + the popupmenu using |highlight-blend|. For instance, to enable + transparency but force the current selected element to be fully opaque: > + + :set pumblend=15 + :hi PmenuSel blend=0 +< UI-dependent. Works best with RGB colors. 'termguicolors' *'pyxversion'* *'pyx'* @@ -6693,6 +6700,15 @@ A jump table for the options with a short description can be found at |Q_op|. key is never used for the menu. This option is not used for <F10>; on Win32. + *'winblend'* *'winbl'* +'winblend' 'winbl' number (default 0) + local to window + Enables pseudo-transparency for a floating window. Valid values are in + the range of 0 for fully opaque window (disabled) to 100 for fully + transparent background. Values between 0-30 are typically most useful. + + UI-dependent. Works best with RGB colors. 'termguicolors' + *'window'* *'wi'* 'window' 'wi' number (default screen height - 1) global diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index b60a952def..1373aff891 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4879,6 +4879,11 @@ guisp={color-name} *highlight-guisp* All values are hexadecimal, range from "00" to "ff". Examples: > :highlight Comment guifg=#11f0c3 guibg=#ff00ff < +blend={integer} *highlight-blend* + Override the blend level for a highlight group within the popupmenu + or floating windows. Only takes effect if 'pumblend' or 'winblend' + is set for the menu or window. See the help at the respective option. + *highlight-groups* *highlight-default* These are the builtin highlighting groups. Note that the highlighting depends on the value of 'background'. You can see the current settings with the |