mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.1175: build failure without +termresponse
Problem: Build failure without +termresponse. Solution: Add #ifdef.
This commit is contained in:
@@ -7350,10 +7350,12 @@ lookup_color(int idx, int foreground, int *boldp)
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user