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.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lua/vim/provider/python.lua b/runtime/lua/vim/provider/python.lua
index 6ea6fe4b8d..cfd3946d8a 100644
--- a/runtime/lua/vim/provider/python.lua
+++ b/runtime/lua/vim/provider/python.lua
@@ -1,7 +1,7 @@
local M = {}
local min_version = '3.9'
local s_err ---@type string?
-local s_host ---@type string?
+local s_host ---@type integer?
local python_candidates = {
'python3',
@@ -143,6 +143,7 @@ function M.call(method, args)
vim.api.nvim_echo({ { result, 'WarningMsg' } }, true)
return
end
+ --- @cast result integer
s_host = result
end