aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMatthieu Coudron <coudron@iij.ad.jp>2019-12-19 21:27:21 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-12-19 12:27:21 -0800
commit65aca4d857ab9ff278f410b17ef31d91e48a37b7 (patch)
tree9ccdeede16c5f8c2c19d08df49e544232098a583 /runtime
parent486ddb6eb706575e3af35c4db5b0d3fbe2095545 (diff)
downloadrneovim-65aca4d857ab9ff278f410b17ef31d91e48a37b7.tar.gz
rneovim-65aca4d857ab9ff278f410b17ef31d91e48a37b7.tar.bz2
rneovim-65aca4d857ab9ff278f410b17ef31d91e48a37b7.zip
TUI: can make the cursor transparent #11519
when setting 'guicursor' highlight blend=100.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/term.txt2
-rw-r--r--runtime/doc/ui.txt3
2 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index 4f4d379f01..6a271c08d3 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -149,6 +149,8 @@ Nvim will adjust the shape of the cursor from a block to a line when in insert
mode (or as specified by the 'guicursor' option), on terminals that support
it. It uses the same |terminfo| extensions that were pioneered by tmux for
this: "Ss" and "Se".
+Similarly, if you set the cursor highlight group with blend=100, Nvim hides
+the cursor through the "cvvis" and "civis" extensions.
If your terminfo definition is missing them, then Nvim will decide whether to
add them to your terminfo definition, by looking at $TERM and other
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt
index d5f4a59ab3..de54ce59b6 100644
--- a/runtime/doc/ui.txt
+++ b/runtime/doc/ui.txt
@@ -294,7 +294,8 @@ numerical highlight ids to the actual attributes.
`underline`: underlined text. The line has `special` color.
`undercurl`: undercurled text. The curl has `special` color.
`blend`: Blend level (0-100). Could be used by UIs to support
- blending floating windows to the background.
+ blending floating windows to the background or to
+ signal a transparent cursor.
For absent color keys the default color should be used. Don't store
the default value in the table, rather a sentinel value, so that