aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-04-05 18:07:36 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-04-06 12:47:28 +0200
commit0443f06b71c7a1563657765b35f7f3869300edc7 (patch)
tree75dcae9cc67759d81f2393c23da0e2560528c27b /runtime/lua/vim/_meta
parent703f97568d5c5093e309c35e3fa9efc1f0d2f41d (diff)
downloadrneovim-0443f06b71c7a1563657765b35f7f3869300edc7.tar.gz
rneovim-0443f06b71c7a1563657765b35f7f3869300edc7.tar.bz2
rneovim-0443f06b71c7a1563657765b35f7f3869300edc7.zip
docs: don't mention executable() can return -1
This cannot happen for neovim.
Diffstat (limited to 'runtime/lua/vim/_meta')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 887c4b3cbe..c114c3b212 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -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.