feat: add configuration and command to toggle display of inline diagnostics
This commit is contained in:
		
							parent
							
								
									812dc85bdc
								
							
						
					
					
						commit
						c186264eac
					
				
					 3 changed files with 10 additions and 1 deletions
				
			
		|  | @ -1009,7 +1009,8 @@ pub const Editor = struct { | |||
|         self.render_syntax(theme, cache, root) catch {}; | ||||
|         self.render_cursors(theme, ctx_.cell_map) catch {}; | ||||
|         self.render_whitespace_map(theme, ctx_.cell_map) catch {}; | ||||
|         self.render_diagnostics(theme, hl_row, ctx_.cell_map) catch {}; | ||||
|         if (tui.config().inline_diagnostics) | ||||
|             self.render_diagnostics(theme, hl_row, ctx_.cell_map) catch {}; | ||||
|     } | ||||
| 
 | ||||
|     fn render_cursors(self: *Self, theme: *const Widget.Theme, cell_map: CellMap) !void { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue