aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2018-09-25 21:23:22 +0200
committerDaniel Hahler <git@thequod.de>2018-10-01 16:22:26 +0200
commitc4006a621eff1761208b0aa38057f4668b4a6ba8 (patch)
tree61454df1d10a713787bdd24d8ba05d9cd12b2cc0 /runtime
parent3999aa755e28302b03b1a8db5ecd9cf627c01de9 (diff)
downloadrneovim-c4006a621eff1761208b0aa38057f4668b4a6ba8.tar.gz
rneovim-c4006a621eff1761208b0aa38057f4668b4a6ba8.tar.bz2
rneovim-c4006a621eff1761208b0aa38057f4668b4a6ba8.zip
tui: add support for undercurl and underline color
Fixes https://github.com/neovim/neovim/issues/7479.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/syntax.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 6a73061aca..c3664ece18 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -4665,8 +4665,8 @@ cterm={attr-list} *attr-list* *highlight-cterm* *E418*
Note that "bold" can be used here and by using a bold font. They
have the same effect.
- If running in a terminal, "undercurl" acts as an alias for "underline".
- It is set using |highlight-guisp|.
+ "undercurl" falls back to "underline" in a terminal that does not
+ support it. The color is set using |highlight-guisp|.
start={term-list} *highlight-start* *E422*
stop={term-list} *term-list* *highlight-stop*
@@ -4799,7 +4799,8 @@ guifg={color-name} *highlight-guifg*
guibg={color-name} *highlight-guibg*
guisp={color-name} *highlight-guisp*
These give the foreground (guifg), background (guibg) and special
- (guisp) color to use in the GUI. "guisp" is used for undercurl.
+ (guisp) color to use in the GUI. "guisp" is used for undercurl
+ and underline.
There are a few special names:
NONE no color (transparent)
bg use normal background color