Merge branch 'master' into zig-0.14
This commit is contained in:
commit
9b197e7209
3 changed files with 17 additions and 3 deletions
|
@ -266,7 +266,8 @@ inline fn render_diff_symbols(self: *Self, diff_symbols: *[]Symbol, pos: usize,
|
|||
}
|
||||
|
||||
fn render_diagnostics(self: *Self, theme: *const Widget.Theme) void {
|
||||
for (self.editor.diagnostics.items) |*diag| self.render_diagnostic(diag, theme);
|
||||
if (tui.config().inline_diagnostics)
|
||||
for (self.editor.diagnostics.items) |*diag| self.render_diagnostic(diag, theme);
|
||||
}
|
||||
|
||||
fn render_diagnostic(self: *Self, diag: *const ed.Diagnostic, theme: *const Widget.Theme) void {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue