mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
docs: don't mention executable() can return -1
This cannot happen for neovim.
This commit is contained in:
parent
703f97568d
commit
0443f06b71
1
runtime/doc/builtin.txt
generated
1
runtime/doc/builtin.txt
generated
@ -1268,7 +1268,6 @@ executable({expr}) *executable()*
|
||||
The result is a Number:
|
||||
1 exists
|
||||
0 does not exist
|
||||
-1 not implemented on this system
|
||||
|exepath()| can be used to get the full path of an executable.
|
||||
|
||||
execute({command} [, {silent}]) *execute()*
|
||||
|
3
runtime/lua/vim/_meta/vimfn.lua
generated
3
runtime/lua/vim/_meta/vimfn.lua
generated
@ -1598,11 +1598,10 @@ function vim.fn.eventhandler() end
|
||||
--- The result is a Number:
|
||||
--- 1 exists
|
||||
--- 0 does not exist
|
||||
--- -1 not implemented on this system
|
||||
--- |exepath()| can be used to get the full path of an executable.
|
||||
---
|
||||
--- @param expr any
|
||||
--- @return 0|1|-1
|
||||
--- @return 0|1
|
||||
function vim.fn.executable(expr) end
|
||||
|
||||
--- Execute {command} and capture its output.
|
||||
|
@ -2071,14 +2071,13 @@ M.funcs = {
|
||||
The result is a Number:
|
||||
1 exists
|
||||
0 does not exist
|
||||
-1 not implemented on this system
|
||||
|exepath()| can be used to get the full path of an executable.
|
||||
|
||||
]=],
|
||||
fast = true,
|
||||
name = 'executable',
|
||||
params = { { 'expr', 'any' } },
|
||||
returns = '0|1|-1',
|
||||
returns = '0|1',
|
||||
signature = 'executable({expr})',
|
||||
},
|
||||
execute = {
|
||||
|
Loading…
Reference in New Issue
Block a user