@ -1,5 +1,5 @@
use crate ::{
use crate ::{
annotations ::diagnostics ::{ DiagnosticFilter , InlineDiagnosticsConfig} ,
annotations ::diagnostics ::{ DiagnosticFilter , DiagnosticIcons, InlineDiagnosticsConfig} ,
document ::{
document ::{
DocumentOpenError , DocumentSavedEventFuture , DocumentSavedEventResult , Mode , SavePoint ,
DocumentOpenError , DocumentSavedEventFuture , DocumentSavedEventResult , Mode , SavePoint ,
} ,
} ,
@ -345,6 +345,7 @@ pub struct Config {
/// Display diagnostic below the line they occur.
/// Display diagnostic below the line they occur.
pub inline_diagnostics : InlineDiagnosticsConfig ,
pub inline_diagnostics : InlineDiagnosticsConfig ,
pub end_of_line_diagnostics : DiagnosticFilter ,
pub end_of_line_diagnostics : DiagnosticFilter ,
pub diagnostic_icons : DiagnosticIcons ,
}
}
#[ derive(Debug, Clone, PartialEq, Deserialize, Serialize, Eq, PartialOrd, Ord) ]
#[ derive(Debug, Clone, PartialEq, Deserialize, Serialize, Eq, PartialOrd, Ord) ]
@ -982,6 +983,7 @@ impl Default for Config {
jump_label_alphabet : ( 'a' ..= 'z' ) . collect ( ) ,
jump_label_alphabet : ( 'a' ..= 'z' ) . collect ( ) ,
inline_diagnostics : InlineDiagnosticsConfig ::default ( ) ,
inline_diagnostics : InlineDiagnosticsConfig ::default ( ) ,
end_of_line_diagnostics : DiagnosticFilter ::Disable ,
end_of_line_diagnostics : DiagnosticFilter ::Disable ,
diagnostic_icons : DiagnosticIcons ::default ( ) ,
}
}
}
}
}
}