mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 06:20:53 +00:00
fix(typing): vim.fn.execute
This commit is contained in:
committed by
Lewis Russell
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
|
||||
|
||||
Reference in New Issue
Block a user