fix: set undercurl color after the rest of the diagnostic style
This commit is contained in:
parent
0caeb2c523
commit
67407aeb41
1 changed files with 1 additions and 1 deletions
|
@ -881,8 +881,8 @@ pub const Editor = struct {
|
||||||
inline fn render_diagnostic_cell(self: *Self, style: Widget.Theme.Style) void {
|
inline fn render_diagnostic_cell(self: *Self, style: Widget.Theme.Style) void {
|
||||||
var cell = self.plane.cell_init();
|
var cell = self.plane.cell_init();
|
||||||
_ = self.plane.at_cursor_cell(&cell) catch return;
|
_ = self.plane.at_cursor_cell(&cell) catch return;
|
||||||
if (style.fg) |ul_col| cell.set_under_color(ul_col);
|
|
||||||
cell.set_style(.{ .fs = .undercurl });
|
cell.set_style(.{ .fs = .undercurl });
|
||||||
|
if (style.fg) |ul_col| cell.set_under_color(ul_col);
|
||||||
_ = self.plane.putc(&cell) catch {};
|
_ = self.plane.putc(&cell) catch {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue