mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1781
Problem: synIDattr() does not respect 'guicolors'. Solution: Change the conditition for the mode. (Christian Brabandt)
This commit is contained in:
@@ -20019,8 +20019,8 @@ f_synIDattr(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef FEAT_GUI
|
||||
if (gui.in_use)
|
||||
#if defined(FEAT_GUI) || defined(FEAT_TERMTRUECOLOR)
|
||||
if (USE_24BIT)
|
||||
modec = 'g';
|
||||
else
|
||||
#endif
|
||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1781,
|
||||
/**/
|
||||
1780,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user