aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-12-11 15:50:59 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-12-11 15:50:59 +0100
commit40c387aca214f701cd316c63b290ba7f35abbe3a (patch)
tree9b9434695b2016b0f6b57c0f3ced260ff1f22a37 /vis.c
parent8c5205ad56f0bd76d3f9cd4a85eba9e01d071228 (diff)
parent8000440b2de276f6ee65f3f369b8622478a0afb2 (diff)
downloadvis-40c387aca214f701cd316c63b290ba7f35abbe3a.tar.gz
vis-40c387aca214f701cd316c63b290ba7f35abbe3a.tar.xz
Merge branch 'fix-typos' of https://github.com/moesasji/vis
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);