Mercurial > vim
changeset 12594:573f8bdeb95a v8.0.1175
patch 8.0.1175: build failure without +termresponse
commit https://github.com/vim/vim/commit/c902609f69b5662484f78dbf509715940d4134e4
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 4 19:35:02 2017 +0200
patch 8.0.1175: build failure without +termresponse
Problem: Build failure without +termresponse.
Solution: Add #ifdef.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 04 Oct 2017 19:45:05 +0200 |
parents | 7e2bf37d7a4b |
children | c1aacd5412cd |
files | src/syntax.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/syntax.c +++ b/src/syntax.c @@ -7350,10 +7350,12 @@ lookup_color(int idx, int foreground, in else color = color_numbers_8[idx]; } +#ifdef FEAT_TERMRESPONSE if (t_colors >= 256 && color == 15 && is_mac_terminal) /* Terminal.app has a bug: 15 is light grey. Use white * from the color cube instead. */ color = 231; +#endif } return color; }