diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2026-09-30 09:29:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-30 09:29:34 +0100 |
| commit | eb601cda5f2b20536b56f3d55ffa0d0ab90b8c26 (patch) | |
| tree | bc74ea5a49ca0a34117a8f1a1a701b667543695c /runtime/lua/vim/provider/python.lua | |
| parent | 58f53cb82f57577244db17e7d0f59abfe2e4493a (diff) | |
| parent | c6535538f8717a8f6134020a5bee65341cf8280f (diff) | |
| download | rneovim-eb601cda5f2b20536b56f3d55ffa0d0ab90b8c26.tar.gz rneovim-eb601cda5f2b20536b56f3d55ffa0d0ab90b8c26.tar.bz2 rneovim-eb601cda5f2b20536b56f3d55ffa0d0ab90b8c26.zip | |
Merge pull request #42134 from lewis6991/emmylua
fix(lua): enable param-type-mismatch diagnostic
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
| -rw-r--r-- | runtime/lua/vim/provider/python.lua | 3 |
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 |