Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r--helix-view/src/editor.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 1051d2c4..34854054 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -379,6 +379,8 @@ pub struct Config {
/// Whether to read settings from [EditorConfig](https://editorconfig.org) files. Defaults to
/// `true`.
pub editor_config: bool,
+ /// Whether to render rainbow colors for matching brackets. Defaults to `false`.
+ pub rainbow_brackets: bool,
}
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize, Eq, PartialOrd, Ord)]
@@ -1058,6 +1060,7 @@ impl Default for Config {
end_of_line_diagnostics: DiagnosticFilter::Enable(Severity::Hint),
clipboard_provider: ClipboardProvider::default(),
editor_config: true,
+ rainbow_brackets: false,
}
}
}