diff options
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/editor.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 1f27603c..b999836f 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -403,7 +403,13 @@ impl Default for StatusLineConfig { E::FileModificationIndicator, ], center: vec![], - right: vec![E::Diagnostics, E::Selections, E::Position, E::FileEncoding], + right: vec![ + E::Diagnostics, + E::Selections, + E::Register, + E::Position, + E::FileEncoding, + ], separator: String::from("│"), mode: ModeConfig::default(), } @@ -484,6 +490,9 @@ pub enum StatusLineElement { /// Current version control information VersionControl, + + /// Indicator for selected register + Register, } // Cursor shape is read and used on every rendered frame and so needs |