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/move.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/move.c')
-rw-r--r-- | src/nvim/move.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index 40f301e595..1ba064c65f 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -1629,10 +1629,10 @@ void scroll_cursor_bot(int min_scroll, int set_topbot) curwin->w_valid |= VALID_TOPLINE; } -/* - * Recompute topline to put the cursor halfway the window - * If "atend" is TRUE, also put it halfway at the end of the file. - */ +/// Recompute topline to put the cursor halfway across the window +/// +/// @param atend if TRUE, also put the cursor halfway to the end of the file. +/// void scroll_cursor_halfway(int atend) { int above = 0; |