mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
feat(keysets): teach Union and LuaRefOf
This commit is contained in:
committed by
Lewis Russell
parent
99e7323aa3
commit
8d55cc218c
2
runtime/lua/vim/_meta/api.lua
generated
2
runtime/lua/vim/_meta/api.lua
generated
@ -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
|
||||
|
Reference in New Issue
Block a user