aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-11-24 10:40:56 +0000
committerLewis Russell <me@lewisr.dev>2024-11-25 17:34:02 +0000
commit8d55cc218cfed54136677398ca76c45987b15f29 (patch)
tree1e827a7725571d0423b6ba9887534120ef398fa6 /runtime/lua/vim/_meta/api.lua
parent99e7323aa386865035ad79483a7da0c5b106464f (diff)
downloadrneovim-8d55cc218cfed54136677398ca76c45987b15f29.tar.gz
rneovim-8d55cc218cfed54136677398ca76c45987b15f29.tar.bz2
rneovim-8d55cc218cfed54136677398ca76c45987b15f29.zip
feat(keysets): teach Union and LuaRefOf
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r--runtime/lua/vim/_meta/api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index 3c9b9d4f44..acd12b353d 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -1012,7 +1012,7 @@ function vim.api.nvim_create_namespace(name) end
--- ```
---
--- @param name string Name of the new user command. Must begin with an uppercase letter.
---- @param command any Replacement command to execute when this user command is executed. When called
+--- @param command string|fun(args: vim.api.keyset.create_user_command.command_args) Replacement command to execute when this user command is executed. When called
--- from Lua, the command can also be a Lua function. The function is called with a
--- single table argument that contains the following keys:
--- - name: (string) Command name