aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/window.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2019-05-24 18:07:16 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-05-26 16:15:20 +0200
commit52215f57526f27c7752685ae280865ae71105969 (patch)
tree0dfbfe440bead79a426390a3933039c15dfd01fc /src/nvim/api/window.c
parent55419a6904306c21e6537a3b891df761ac352540 (diff)
downloadrneovim-52215f57526f27c7752685ae280865ae71105969.tar.gz
rneovim-52215f57526f27c7752685ae280865ae71105969.tar.bz2
rneovim-52215f57526f27c7752685ae280865ae71105969.zip
doc/API: document indexing behavior #10058
close #10058
Diffstat (limited to 'src/nvim/api/window.c')
-rw-r--r--src/nvim/api/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/window.c b/src/nvim/api/window.c
index e1c50cb89d..9fd1818a5c 100644
--- a/src/nvim/api/window.c
+++ b/src/nvim/api/window.c
@@ -74,7 +74,7 @@ void nvim_win_set_buf(Window window, Buffer buffer, Error *err)
restore_win(save_curwin, save_curtab, false);
}
-/// Gets the cursor position in the window
+/// Gets the (1,0)-indexed cursor position in the window. |api-indexing|
///
/// @param window Window handle
/// @param[out] err Error details, if any
@@ -93,7 +93,7 @@ ArrayOf(Integer, 2) nvim_win_get_cursor(Window window, Error *err)
return rv;
}
-/// Sets the cursor position in the window
+/// Sets the (1,0)-indexed cursor position in the window. |api-indexing|
///
/// @param window Window handle
/// @param pos (row, col) tuple representing the new position