summaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view')
-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 dd805c00..0c2fad2b 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -146,6 +146,8 @@ pub struct Config {
#[serde(default)]
pub search: SearchConfig,
pub lsp: LspConfig,
+ /// Column numbers at which to draw the rulers. Default to `[]`, meaning no rulers.
+ pub rulers: Vec<u16>,
}
#[derive(Debug, Default, Clone, PartialEq, Serialize, Deserialize)]
@@ -285,6 +287,7 @@ impl Default for Config {
true_color: false,
search: SearchConfig::default(),
lsp: LspConfig::default(),
+ rulers: Vec::new(),
}
}
}