We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df7edfe + a111780 commit 297440fCopy full SHA for 297440f
src/MacVim/gui_macvim.m
@@ -1563,6 +1563,9 @@
1563
guicolor_T
1564
gui_mch_get_color(char_u *name)
1565
{
1566
+ if (![MMBackend sharedInstance])
1567
+ return INVALCOLOR;
1568
+
1569
#ifdef FEAT_MBYTE
1570
name = CONVERT_TO_UTF8(name);
1571
#endif
src/term.c
@@ -1269,6 +1269,12 @@ static struct builtin_term builtin_termcaps[] =
1269
1270
termgui_mch_get_color(char_u *name)
1271
1272
+# if defined(FEAT_GUI_MACVIM)
1273
+ guicolor_T t;
1274
+ t = gui_mch_get_color(name);
1275
+ if (t != INVALCOLOR)
1276
+ return t;
1277
+# endif
1278
return gui_get_color_cmn(name);
1279
}
1280
0 commit comments