mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
54037: fix to highlight layers where special is assigned a low layer
This commit is contained in:
committed by
Oliver Kiddle
parent
0d8b69b9a0
commit
4c32677ea8
@@ -1223,7 +1223,8 @@ zrefresh(void)
|
||||
if (layer > special_layer)
|
||||
all_attr = mixattrs(rhp->atr, all_attr);
|
||||
}
|
||||
} else if (rhp->layer > layer && rhp->layer < nextlayer) {
|
||||
} else if (rhp->layer > layer &&
|
||||
(rhp->layer < nextlayer || nextlayer <= layer)) {
|
||||
nextlayer = rhp->layer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user