aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-09-15 14:14:21 +0100
committerGitHub <noreply@github.com>2026-09-15 14:14:21 +0100
commitc171a697cbee36c4f36535e14f1407909733ca4b (patch)
tree945a337b27aa3f15b26250d40b5535a5ead33181 /runtime/lua/vim/provider/python.lua
parent3f21132a65a9c1f9ae5307bb59a5c730240c4a34 (diff)
downloadrneovim-c171a697cbee36c4f36535e14f1407909733ca4b.tar.gz
rneovim-c171a697cbee36c4f36535e14f1407909733ca4b.tar.bz2
rneovim-c171a697cbee36c4f36535e14f1407909733ca4b.zip
fix(lua): add missing param annotations (#41911)
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