diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-07-13 19:25:39 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-07-13 19:44:15 +0200 |
| commit | 9982f6e0e4f712aea28d3351f180786d29cf808d (patch) | |
| tree | 455011b52fc21c59f209ea4d26763223f2f0c1f2 /runtime/lua/vim/provider/ruby.lua | |
| parent | dc8934482e72cdc885da69f7318eabc21a4e8757 (diff) | |
| download | rneovim-9982f6e0e4f712aea28d3351f180786d29cf808d.tar.gz rneovim-9982f6e0e4f712aea28d3351f180786d29cf808d.tar.bz2 rneovim-9982f6e0e4f712aea28d3351f180786d29cf808d.zip | |
refactor(api): omit optional param
Diffstat (limited to 'runtime/lua/vim/provider/ruby.lua')
| -rw-r--r-- | runtime/lua/vim/provider/ruby.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/provider/ruby.lua b/runtime/lua/vim/provider/ruby.lua index 299db64b44..52dd718968 100644 --- a/runtime/lua/vim/provider/ruby.lua +++ b/runtime/lua/vim/provider/ruby.lua @@ -24,7 +24,7 @@ function M.call(method, args) local ok, result = pcall(vim.fn['remote#host#Require'], 'legacy-ruby-provider') ---@type any, any if not ok then s_err = result - vim.api.nvim_echo({ { result, 'WarningMsg' } }, true, {}) + vim.api.nvim_echo({ { result, 'WarningMsg' } }, true) return end s_host = result |