aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/edit.c1
-rw-r--r--src/nvim/normal.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 8fbc5fb2ab..7670d6754f 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -2527,6 +2527,7 @@ int oneleft(void)
}
curwin->w_set_curswant = true;
+ adjust_skipcol();
return OK;
}
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index fa6cdb0ad8..7e44e55a8e 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -5272,6 +5272,7 @@ static void nv_g_home_m_cmd(cmdarg_T *cap)
curwin->w_valid &= ~VALID_WCOL;
}
curwin->w_set_curswant = true;
+ adjust_skipcol();
}
/// "g_": to the last non-blank character in the line or <count> lines downward.