diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 353311caf..53f809319 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -122,7 +122,7 @@ impl EditorView { [Left] vec![ "type ".into(), Span::styled(":theme", theme.get("markup.raw")), - " to choose a color scheme".into(), + " to choose a theme".into(), ], [Left] vec![ "type ".into(), @@ -170,10 +170,10 @@ impl EditorView { // towards the end it is low. Therefore to achieve an optical balance we must // do a little offset // - // this padding of 4 is not cruicial though, so if we can't fit it on the screen + // this padding of 3 is not cruicial though, so if we can't fit it on the screen // we just decrease it until it is 0. Once that happens, if it still overflows // we don't want to draw the welcome screen. - let padding = 4.min(max_padding.max(0) as u16); + let padding = 3.min(max_padding.max(0) as u16); let x_start_left = padding + view.area.x + (view.area.width / 2).saturating_sub(longest_left as u16 / 2); diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 3402335c8..a9a78d4fa 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -208,7 +208,7 @@ pub struct Document { // large refactor that would make `&mut Editor` available on the `DocumentDidChange` event. pub color_swatch_controller: TaskController, - /// Whether to render the dashboard when opening the document + /// Whether to render the welcome screen when opening the document pub is_welcome: bool, } diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 408f39fce..d3a3c6dc4 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -247,7 +247,7 @@ where #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] #[serde(rename_all = "kebab-case", default, deny_unknown_fields)] pub struct Config { - /// Whether to enable the dashboard + /// Whether to enable the welcome screen pub welcome_screen: bool, /// Padding to keep between the edge of the screen and the cursor when scrolling. Defaults to 5. pub scrolloff: usize,