Skip to content

Commit 8a24b79

Browse files
committed
patch 7.4.1808
Problem: Using wrong feature name to check for 'termguicolors'. Solution: Use the right feature name. (Ken Takata)
1 parent d75263c commit 8a24b79

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

runtime/optwin.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ 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")
415+
if has("termguicolors")
416416
call append("$", "termguicolors\tuse GUI colors for the terminal")
417417
call <SID>BinOptionG("tgc", &gcol)
418418
endif

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+
1808,
756758
/**/
757759
1807,
758760
/**/

0 commit comments

Comments
 (0)