diff options
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/commands.rs | 2 | ||||
-rw-r--r-- | helix-term/src/commands/typed.rs | 4 | ||||
-rw-r--r-- | helix-term/src/ui/editor.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 8a0313ef..ee2afb72 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -3715,7 +3715,7 @@ fn shrink_selection(cx: &mut Context) { doc.set_selection(view.id, prev_selection); return; } else { - // clear existing selection as they can't be shrinked to anyway + // clear existing selection as they can't be shrunk to anyway view.object_selections.clear(); } } diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 3e93cfd7..394760a2 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -1169,14 +1169,14 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[ TypableCommand { name: "buffer-close-all", aliases: &["bca", "bcloseall"], - doc: "Close all buffers, without quiting.", + doc: "Close all buffers, without quitting.", fun: buffer_close_all, completer: None, }, TypableCommand { name: "buffer-close-all!", aliases: &["bca!", "bcloseall!"], - doc: "Close all buffers forcefully (ignoring unsaved changes), without quiting.", + doc: "Close all buffers forcefully (ignoring unsaved changes), without quitting.", fun: force_buffer_close_all, completer: None, }, diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 798b8ac8..ce8746a7 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -1239,7 +1239,7 @@ impl Component for EditorView { view.ensure_cursor_in_view(doc, config.scrolloff); // Store a history state if not in insert mode. This also takes care of - // commiting changes when leaving insert mode. + // committing changes when leaving insert mode. if doc.mode() != Mode::Insert { doc.append_changes_to_history(view.id); } |