aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-06-15 02:49:54 +0200
committerGitHub <noreply@github.com>2022-06-15 08:49:54 +0800
commit6de7f32d52822c3c09d24720efc65efe97a6e698 (patch)
treeb8f22be2faf350e2f3fa34068f1453ef279a00d0 /src/nvim/ops.c
parent8ba64dd3ad1822efd6f986349e99f5f85afd7be7 (diff)
downloadrneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.tar.gz
rneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.tar.bz2
rneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.zip
docs: fix typos (#18866)
docs: fix typos and similarly insignificant changes Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: kanreki <32443233+kanreki@users.noreply.github.com>
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index ac13807bd3..510aa1c8ac 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -6666,9 +6666,8 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
CancelRedo();
} else {
// This is a new edit command, not a restart. Need to
- // remember it to make 'insertmode' work with mappings for
- // Visual mode. But do this only once and not when typed and
- // 'insertmode' isn't set.
+ // remember it to make i_CTRL-O work with mappings for
+ // Visual mode. But do this only once and not when typed.
if (!KeyTyped) {
restart_edit_save = restart_edit;
} else {
@@ -6760,7 +6759,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
CancelRedo();
} else {
// This is a new edit command, not a restart. Need to
- // remember it to make 'insertmode' work with mappings for
+ // remember it to make i_CTRL-O work with mappings for
// Visual mode. But do this only once.
restart_edit_save = restart_edit;
restart_edit = 0;