mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +00:00
vim-patch:8.0.0755: terminal window does not have colors in the GUI
Problem: Terminal window does not have colors in the GUI.
Solution: Lookup the GUI color.
26af85d97b
This commit is contained in:
@@ -6829,7 +6829,7 @@ void do_highlight(const char *line, const bool forceit, const bool init)
|
|||||||
}
|
}
|
||||||
|
|
||||||
xfree(HL_TABLE()[idx].sg_rgb_fg_name);
|
xfree(HL_TABLE()[idx].sg_rgb_fg_name);
|
||||||
if (strcmp(arg, "NONE")) {
|
if (strcmp(arg, "NONE") != 0) {
|
||||||
HL_TABLE()[idx].sg_rgb_fg_name = (char_u *)xstrdup((char *)arg);
|
HL_TABLE()[idx].sg_rgb_fg_name = (char_u *)xstrdup((char *)arg);
|
||||||
HL_TABLE()[idx].sg_rgb_fg = name_to_color((const char_u *)arg);
|
HL_TABLE()[idx].sg_rgb_fg = name_to_color((const char_u *)arg);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user