aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorchunghha2022-04-27 19:21:20 +0000
committerGitHub2022-04-27 19:21:20 +0000
commit3a398eec56c907f9d0f166e77242eb13ded229bc (patch)
tree4411668f181c0a1ae31b6599a50c196bccd709e6 /helix-term/src/ui
parent2e46961886cb40b45a03a91c59823b0e437a9867 (diff)
fix typos (#2304)
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
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);
}