nvim/lsp/sorbet.lua
2025-09-22 16:07:34 +02:00

19 lines
442 B
Lua

---@brief
---
--- https://sorbet.org
---
--- 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.
---
--- ```sh
--- gem install sorbet
--- ```
---@type vim.lsp.Config
return {
cmd = { 'srb', 'tc', '--lsp' },
filetypes = { 'ruby' },
root_markers = { 'Gemfile', '.git' },
}