aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorMoesasji <miyamoto.31b@gmail.com>2020-12-10 18:25:37 +0000
committerMoesasji <miyamoto.31b@gmail.com>2020-12-10 18:25:37 +0000
commit8000440b2de276f6ee65f3f369b8622478a0afb2 (patch)
treeaee1ce6714e9188038b2cd9bf0cf9ec2457e8f20 /vis.c
parent247b799b7cd272f20b2c6f9b4e60bf8b57775985 (diff)
downloadvis-8000440b2de276f6ee65f3f369b8622478a0afb2.tar.gz
vis-8000440b2de276f6ee65f3f369b8622478a0afb2.tar.xz
fix typos in comments
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis.c b/vis.c
index d39c4b1..45963b0 100644
--- a/vis.c
+++ b/vis.c
@@ -1018,7 +1018,7 @@ void vis_do(Vis *vis) {
register_resize(reg, last_reg_slot+1);
}
- /* we do not support visual repeat, still do something resonable */
+ /* we do not support visual repeat, still do something reasonable */
if (vis->mode->visual && !a->movement && !a->textobj)
a->movement = &vis_motions[VIS_MOVE_NOP];
@@ -1686,7 +1686,7 @@ void vis_insert_nl(Vis *vis) {
size_t newpos = vis_text_insert_nl(vis, txt, pos);
/* This is a bit of a hack to fix cursor positioning when
* inserting a new line at the start of the view port.
- * It has the effect of reseting the mark used by the view
+ * It has the effect of resetting the mark used by the view
* code to keep track of the start of the visible region.
*/
view_cursors_to(s, pos);