diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-31 16:42:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-31 16:42:30 +0200 |
commit | e023e88bed3f2e0a7ea4cf10cac2de80bc9c271c (patch) | |
tree | f08d1259998303ef883ab394c2fe60196aeaf714 /runtime/doc/syntax.txt | |
parent | b10090928cb5283f867e8457b7eea0985470d8d4 (diff) |
patch 8.2.0863: cannot set a separate color for underline/undercurlv8.2.0863
Problem: Cannot set a separate color for underline/undercurl.
Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 686c98adfb..ff9be2e5c7 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4901,6 +4901,10 @@ cterm={attr-list} *highlight-cterm* ctermfg={color-nr} *highlight-ctermfg* *E421* ctermbg={color-nr} *highlight-ctermbg* +ctermul={color-nr} *highlight-ctermul* + These give the foreground (ctermfg), background (ctermbg) and + underline (ctermul) color to use in the terminal. + The {color-nr} argument is a color number. Its range is zero to (not including) the number given by the termcap entry "Co". The actual color with this number depends on the type of terminal @@ -4978,11 +4982,11 @@ ctermbg={color-nr} *highlight-ctermbg* needs to reset the color when exiting. This is done with the "op" termcap entry |t_op|. If this doesn't work correctly, try setting the 't_op' option in your .vimrc. - *E419* *E420* - When Vim knows the normal foreground and background colors, "fg" and - "bg" can be used as color names. This only works after setting the - colors for the Normal group and for the MS-Windows console. Example, - for reverse video: > + *E419* *E420* *E453* + When Vim knows the normal foreground, background and underline colors, + "fg", "bg" and "ul" can be used as color names. This only works after + setting the colors for the Normal group and for the MS-Windows + console. Example, for reverse video: > :highlight Visual ctermfg=bg ctermbg=fg < Note that the colors are used that are valid at the moment this command are given. If the Normal group colors are changed later, the |