feat: add config option to toggle inline vcs blame
This commit is contained in:
parent
87b5c7e2a5
commit
0714957357
2 changed files with 3 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ highlight_columns_enabled: bool = false,
|
|||
whitespace_mode: WhitespaceMode = .indent,
|
||||
inline_diagnostics: bool = true,
|
||||
inline_diagnostics_alignment: Alignment = .right,
|
||||
inline_vcs_blame: bool = false,
|
||||
animation_min_lag: usize = 0, //milliseconds
|
||||
animation_max_lag: usize = 50, //milliseconds
|
||||
hover_time_ms: usize = 500, //milliseconds
|
||||
|
|
|
|||
|
|
@ -1258,7 +1258,8 @@ pub const Editor = struct {
|
|||
self.render_whitespace_map(theme, ctx_.cell_map) catch {};
|
||||
if (tui.config().inline_diagnostics)
|
||||
self.render_diagnostics(theme, hl_row, ctx_.cell_map) catch {};
|
||||
self.render_blame(theme, hl_row, ctx_.cell_map) catch {};
|
||||
if (tui.config().inline_vcs_blame)
|
||||
self.render_blame(theme, hl_row, ctx_.cell_map) catch {};
|
||||
self.render_column_highlights() catch {};
|
||||
self.render_cursors(theme, ctx_.cell_map, focused) catch {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue