sorbet
Sorbet is a fast, powerful type checker designed for Ruby.
You can install Sorbet via gem install. You might also be interested in how to set Sorbet up for new projects: https://sorbet.org/docs/adopting.
gem install sorbet
Setup
require'lspconfig'.sorbet.setup{}
Default values
cmd = { "srb", "tc", "--lsp" }
filetypes = { "ruby" }
root_dir = function(startpath)
return M.search_ancestors(startpath, matcher)
end