aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-09-28 23:57:59 -0400
committerGitHub <noreply@github.com>2025-09-28 20:57:59 -0700
commit2739ab485e4e76f24bf776c5169d0f4037554f7d (patch)
treed70cb00026729217e11f5022ad705c5a65c61d1d /runtime/lua/vim/_meta/api.lua
parentaf1b17f17e35a70a384c122e289bd3a036af4691 (diff)
downloadrneovim-2739ab485e4e76f24bf776c5169d0f4037554f7d.tar.gz
rneovim-2739ab485e4e76f24bf776c5169d0f4037554f7d.tar.bz2
rneovim-2739ab485e4e76f24bf776c5169d0f4037554f7d.zip
docs: json, tests, lsp #35754
Close #35926 Close #35818 Co-authored-by: skewb1k <skewb1kunix@gmail.com> Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r--runtime/lua/vim/_meta/api.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index 44ffa7d70d..873ae6e516 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -1117,11 +1117,9 @@ function vim.api.nvim_del_var(name) end
--- - success: The progress item completed successfully
--- - running: The progress is ongoing
--- - failed: The progress item failed
---- - cancel: The progressing process should be canceled.
---- note: Cancel needs to be handled by progress
---- initiator by listening for the `Progress` event
---- - percent: How much progress is done on the progress
---- message
+--- - cancel: The progressing process should be canceled. NOTE: Cancel must be handled by
+--- progress initiator by listening for the `Progress` event
+--- - percent: How much progress is done on the progress message
--- - data: dictionary containing additional information
--- @return integer|string # Message id.
--- - -1 means nvim_echo didn't show a message
@@ -2116,7 +2114,7 @@ function vim.api.nvim_set_current_line(line) end
--- @param tabpage integer `tab-ID` to focus
function vim.api.nvim_set_current_tabpage(tabpage) end
---- Sets the current window (and tabpage, implicitly).
+--- Navigates to the given window (and tabpage, implicitly).
---
--- @param window integer `window-ID` to focus
function vim.api.nvim_set_current_win(window) end