mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
Merge pull request #9039 from blueyed/undercurl
tui: code consistency in update_attrs
This commit is contained in:
commit
1a1164339a
@ -483,7 +483,8 @@ static void update_attrs(UI *ui, HlAttrs attrs)
|
||||
bool italic = attr & HL_ITALIC;
|
||||
bool reverse = attr & HL_INVERSE;
|
||||
bool standout = attr & HL_STANDOUT;
|
||||
bool underline = attr & (HL_UNDERLINE), undercurl = attr & (HL_UNDERCURL);
|
||||
bool underline = attr & HL_UNDERLINE;
|
||||
bool undercurl = attr & HL_UNDERCURL;
|
||||
|
||||
if (unibi_get_str(data->ut, unibi_set_attributes)) {
|
||||
if (bold || reverse || underline || undercurl || standout) {
|
||||
|
Loading…
Reference in New Issue
Block a user