diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-01-22 22:20:29 -0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-22 22:20:29 -0800 |
commit | 0f39097e5348ae61dbf9a226ffde3bca6b75d659 (patch) | |
tree | 78f2aaf4f7e3af413adf61b95307ef1197056d25 /src/nvim/ex_cmds.c | |
parent | 918b5d021d9ece1da76b0bd61ddefe32ba401c89 (diff) | |
parent | 19c22cdb80e30711be5af33cb6726566ad629944 (diff) | |
download | rneovim-0f39097e5348ae61dbf9a226ffde3bca6b75d659.tar.gz rneovim-0f39097e5348ae61dbf9a226ffde3bca6b75d659.tar.bz2 rneovim-0f39097e5348ae61dbf9a226ffde3bca6b75d659.zip |
Merge pull request #1850 from JackDanger/halfway-a-line
doc: "halfway a line" is a very confusing phrase
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; |