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 162d2b1f..3e7ccaa2 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -333,6 +333,8 @@ pub struct Config {
pub terminal: Option<TerminalConfig>,
/// Column numbers at which to draw the rulers. Defaults to `[]`, meaning no rulers.
pub rulers: Vec<u16>,
+ /// Character used to draw rulers. Defaults to `┊`.
+ pub ruler_char: String,
#[serde(default)]
pub whitespace: WhitespaceConfig,
/// Persistently display open buffers along the top
@@ -1046,6 +1048,7 @@ impl Default for Config {
lsp: LspConfig::default(),
terminal: get_terminal_provider(),
rulers: Vec::new(),
+ ruler_char: "┊".to_owned(),
whitespace: WhitespaceConfig::default(),
bufferline: BufferLine::default(),
indent_guides: IndentGuidesConfig::default(),