@@ -203,6 +203,7 @@ pub struct StatusLineConfig {
203 pub left: Vec<StatusLineElement>,
203 pub left: Vec<StatusLineElement>,
204 pub center: Vec<StatusLineElement>,
204 pub center: Vec<StatusLineElement>,
205 pub right: Vec<StatusLineElement>,
205 pub right: Vec<StatusLineElement>,
206+ pub separator: String,
208impl Default for StatusLineConfig {
209impl Default for StatusLineConfig {
@@ -213,6 +214,7 @@ impl Default for StatusLineConfig {
213 left: vec![E::Mode, E::Spinner, E::FileName],
214 left: vec![E::Mode, E::Spinner, E::FileName],
214 center: vec![],
215 center: vec![],
215 right: vec![E::Diagnostics, E::Selections, E::Position, E::FileEncoding],
216 right: vec![E::Diagnostics, E::Selections, E::Position, E::FileEncoding],
217+ separator: String::from("│"),
@@ -247,8 +249,12 @@ pub enum StatusLineElement {
247 /// The cursor position
249 /// The cursor position
248 Position,
250 Position,
252+ /// The separator string
250 /// The cursor position as a percent of the total file
255 /// The cursor position as a percent of the total file
251 PositionPercentage,
256 PositionPercentage,
252 /// A single space
258 /// A single space