mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
fix(typing): vim.fn.execute
This commit is contained in:
parent
883e2a1409
commit
b3342171d5
6
runtime/lua/vim/_meta/vimfn.lua
generated
6
runtime/lua/vim/_meta/vimfn.lua
generated
@ -1630,9 +1630,9 @@ function vim.fn.executable(expr) end
|
||||
--- To execute a command in another window than the current one
|
||||
--- use `win_execute()`.
|
||||
---
|
||||
--- @param command any
|
||||
--- @param silent? boolean
|
||||
--- @return any
|
||||
--- @param command string|string[]
|
||||
--- @param silent? ''|'silent'|'silent!'
|
||||
--- @return string
|
||||
function vim.fn.execute(command, silent) end
|
||||
|
||||
--- Returns the full path of {expr} if it is an executable and
|
||||
|
@ -2111,7 +2111,11 @@ M.funcs = {
|
||||
|
||||
]=],
|
||||
name = 'execute',
|
||||
params = { { 'command', 'any' }, { 'silent', 'boolean' } },
|
||||
params = {
|
||||
{ 'command', 'string|string[]' },
|
||||
{ 'silent', "''|'silent'|'silent!'" }
|
||||
},
|
||||
returns = 'string',
|
||||
signature = 'execute({command} [, {silent}])',
|
||||
},
|
||||
exepath = {
|
||||
|
Loading…
Reference in New Issue
Block a user