docs: Update scrollbar > diagnostics setting section (#22574)

This updates the docs after the setting was changed in #22364 

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner 2025-01-02 12:27:17 -05:00 committed by GitHub
parent b009e72121
commit fbef8c2b3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 45 additions and 12 deletions

View file

@ -150,7 +150,7 @@ pub struct ScrollbarAxes {
pub vertical: bool,
}
/// Which diagnostic indicator levels to show in the scrollbar.
/// Which diagnostic indicators to show in the scrollbar.
///
/// Default: all
#[derive(Copy, Clone, Debug, Serialize, JsonSchema, PartialEq, Eq)]
@ -415,12 +415,7 @@ pub struct ScrollbarContent {
///
/// Default: true
pub selected_symbol: Option<bool>,
/// Which diagnostic indicator levels to show in the scrollbar:
/// - "none" or false: do not show diagnostics
/// - "error": show only errors
/// - "warning": show only errors and warnings
/// - "information": show only errors, warnings, and information
/// - "all" or true: show all diagnostics
/// Which diagnostic indicators to show in the scrollbar:
///
/// Default: all
pub diagnostics: Option<ScrollbarDiagnostics>,