mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
docs: misc #31867
This commit is contained in:
@@ -391,7 +391,7 @@ end
|
||||
|
||||
local VIM_CMD_ARG_MAX = 20
|
||||
|
||||
--- Executes Vim script commands.
|
||||
--- Executes Vimscript (|Ex-commands|).
|
||||
---
|
||||
--- Note that `vim.cmd` can be indexed with a command name to return a callable function to the
|
||||
--- command.
|
||||
@@ -426,7 +426,7 @@ local VIM_CMD_ARG_MAX = 20
|
||||
--- ```
|
||||
---
|
||||
---@param command string|table Command(s) to execute.
|
||||
--- If a string, executes multiple lines of Vim script at once. In this
|
||||
--- If a string, executes multiple lines of Vimscript at once. In this
|
||||
--- case, it is an alias to |nvim_exec2()|, where `opts.output` is set
|
||||
--- to false. Thus it works identical to |:source|.
|
||||
--- If a table, executes a single command. In this case, it is an alias
|
||||
|
||||
Reference in New Issue
Block a user