summaryrefslogtreecommitdiffstats
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2022-05-07 14:09:19 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-07 14:09:19 +0100
commitaa04e1b0be343ff606e25a48d59bc057edcc6e87 (patch)
tree1a57bb0e3551d13aade2b2ed0ca413c6b9a062d3 /runtime/doc/options.txt
parent3f1cfcb86407c15a3037d5595bb192a00c661303 (diff)
patch 8.2.4906: MS-Windows: cannot use transparent backgroundv8.2.4906
Problem: MS-Windows: cannot use transparent background. Solution: Make transparent background work with 'termguicolors' and NONE background color. (Yasuhiro Matsumoto, closes #10310, closes #7162)
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 689c9a28c1..124cfee5e0 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -8079,6 +8079,13 @@ A jump table for the options with a short description can be found at |Q_op|.
< This requires Vim to be built with the |+vtp| feature.
Note that the "cterm" attributes are still used, not the "gui" ones.
+
+ When using Vim with Windows Terminal, the background of Windows
+ Terminal is normally filled with the Vim background color. Setting
+ 'termguicolors' and the guibg of the Normal highlight group to NONE
+ will make the background transparent: >
+ :hi Normal guibg=NONE
+<
NOTE: This option is reset when 'compatible' is set.
*'termwinkey'* *'twk'*