diff options
author | Thomas | 2022-04-20 01:44:32 +0000 |
---|---|---|
committer | GitHub | 2022-04-20 01:44:32 +0000 |
commit | 5d5b6bab9ba5211c8c146fb38276f968892e7882 (patch) | |
tree | e28f9861eb09e95629a392cf9f1160c7922584ca /helix-core/src | |
parent | 02426072cbe4b6272bf54d89f85598bb79a33729 (diff) |
Add rulers option (#2060)
* Add color_column option
* Rename to ruler
Co-authored-by: DeviousStoat <devious@stoat.com>
Diffstat (limited to 'helix-core/src')
-rw-r--r-- | helix-core/src/syntax.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 905b3347..2fd4ed9b 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -104,6 +104,8 @@ pub struct LanguageConfiguration { /// global setting. #[serde(default, skip_serializing, deserialize_with = "deserialize_auto_pairs")] pub auto_pairs: Option<AutoPairs>, + + pub rulers: Option<Vec<u16>>, // if set, override editor's rulers } #[derive(Debug, Serialize, Deserialize)] |