Skip to content

Commit 8e3d1b6

Browse files
committed
patch 7.4.1806
Problem: 'termguicolors' option missing from the options window. Solution: Add the entry.
1 parent 0648142 commit 8e3d1b6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

runtime/optwin.vim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" These commands create the option window.
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2016 Apr 21
4+
" Last Change: 2016 Apr 30
55

66
" If there already is an option window, jump to that one.
77
if bufwinnr("option-window") > 0
@@ -412,6 +412,10 @@ call append("$", "highlight\twhich highlighting to use for various occasions")
412412
call <SID>OptionG("hl", &hl)
413413
call append("$", "hlsearch\thighlight all matches for the last used search pattern")
414414
call <SID>BinOptionG("hls", &hls)
415+
if has("termtruecolor")
416+
call append("$", "termguicolors\tuse GUI colors for the terminal")
417+
call <SID>BinOptionG("tgc", &gcol)
418+
endif
415419
if has("syntax")
416420
call append("$", "cursorcolumn\thighlight the screen column of the cursor")
417421
call append("$", "\t(local to window)")

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,8 @@ static char *(features[]) =
753753

754754
static int included_patches[] =
755755
{ /* Add new patch number below this line */
756+
/**/
757+
1806,
756758
/**/
757759
1805,
758760
/**/

0 commit comments

Comments
 (0)