mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.318 #968
Problem: Check for whether a highlight group has settings ignores fg and bg color settings. Solution: Also check cterm and GUI color settings. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=5c47dacf397c1c65d2dfc237b3ff395c66ec3d4d
This commit is contained in:
parent
b6da1ac339
commit
16a04bae0a
@ -6687,6 +6687,8 @@ static int hl_has_settings(int idx, int check_link)
|
||||
{
|
||||
return HL_TABLE()[idx].sg_term_attr != 0
|
||||
|| HL_TABLE()[idx].sg_cterm_attr != 0
|
||||
|| HL_TABLE()[idx].sg_cterm_fg != 0
|
||||
|| HL_TABLE()[idx].sg_cterm_bg != 0
|
||||
|| (check_link && (HL_TABLE()[idx].sg_set & SG_LINK));
|
||||
}
|
||||
|
||||
|
@ -277,7 +277,7 @@ static int included_patches[] = {
|
||||
//321 NA
|
||||
//320,
|
||||
//319 NA
|
||||
//318,
|
||||
318,
|
||||
//317,
|
||||
//316 NA
|
||||
315,
|
||||
|
Loading…
Reference in New Issue
Block a user