aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
-rw-r--r--runtime/lua/vim/provider/python.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/provider/python.lua b/runtime/lua/vim/provider/python.lua
index 34b7b64a9f..6ea6fe4b8d 100644
--- a/runtime/lua/vim/provider/python.lua
+++ b/runtime/lua/vim/provider/python.lua
@@ -102,6 +102,8 @@ function M.detect_by_module(module)
return nil, 'Could not load Python :\n' .. table.concat(errors, '\n')
end
+--- @param host { name: string, orig_name: string }
+--- @return integer
function M.require(host)
-- Python host arguments
local prog = M.detect_by_module('neovim')
@@ -126,6 +128,8 @@ function M.require(host)
)
end
+--- @param method string
+--- @param args any[]
function M.call(method, args)
if s_err then
return