From c171a697cbee36c4f36535e14f1407909733ca4b Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Tue, 15 Sep 2026 14:14:21 +0100 Subject: fix(lua): add missing param annotations (#41911) --- runtime/lua/vim/provider/ruby.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/lua/vim/provider/ruby.lua') diff --git a/runtime/lua/vim/provider/ruby.lua b/runtime/lua/vim/provider/ruby.lua index 52dd718968..57e7393776 100644 --- a/runtime/lua/vim/provider/ruby.lua +++ b/runtime/lua/vim/provider/ruby.lua @@ -2,6 +2,8 @@ local M = {} local s_err ---@type string? local s_host ---@type string? +--- @param host { name: string, orig_name: string } +--- @return integer function M.require(host) local prog = M.detect() local args = { prog } @@ -15,6 +17,8 @@ function M.require(host) return vim.fn['provider#Poll'](args, host.orig_name, '$NVIM_RUBY_LOG_FILE') end +---@param method string +---@param args any[] function M.call(method, args) if s_err then return @@ -53,6 +57,7 @@ function M.detect() return prog, err end +--- @param plugin_path string function M.start(plugin_path) vim.fn['remote#host#RegisterClone']('legacy-ruby-provider', 'ruby') vim.fn['remote#host#RegisterPlugin']('legacy-ruby-provider', plugin_path, {}) -- cgit