diff options
author | Jack Danger Canty <jackdanger@squareup.com> | 2015-01-19 22:21:14 -0800 |
---|---|---|
committer | Jack Danger Canty <jackdanger@squareup.com> | 2015-01-22 21:57:03 -0800 |
commit | 19c22cdb80e30711be5af33cb6726566ad629944 (patch) | |
tree | e83b3e922b402921da48d721b7b8199b6a0a62f2 /src/nvim/ex_cmds.c | |
parent | d550eecf7092397d064df26850d4a09d9ab4a481 (diff) | |
download | rneovim-19c22cdb80e30711be5af33cb6726566ad629944.tar.gz rneovim-19c22cdb80e30711be5af33cb6726566ad629944.tar.bz2 rneovim-19c22cdb80e30711be5af33cb6726566ad629944.zip |
"halfway a line" is a very confusing phrase
If you Google for this phrase found in the Vim documentation you'll find
almost exclusively hits from the Vim documentation. I think changing
"halfway a line" to "halfway through a line" makes more sense.
There seems to be an pervasive odd use of the word 'halfway' in the
original docs which I'm updating everywhere.
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 763a2d6212..b1a7044565 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -3093,7 +3093,7 @@ do_ecmd ( if (!skip_redraw) { n = p_so; if (topline == 0 && command == NULL) - p_so = 999; /* force cursor halfway the window */ + p_so = 999; // force cursor to be vertically centered in the window update_topline(); curwin->w_scbind_pos = curwin->w_topline; p_so = n; |