mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 09:30:04 +08:00
27 lines
577 B
Lua
Vendored
27 lines
577 B
Lua
Vendored
local util = require 'lspconfig.util'
|
|
|
|
return {
|
|
default_config = {
|
|
cmd = { 'srb', 'tc', '--lsp' },
|
|
filetypes = { 'ruby' },
|
|
root_dir = util.root_pattern('Gemfile', '.git'),
|
|
},
|
|
docs = {
|
|
description = [[
|
|
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
|
|
```
|
|
]],
|
|
default_config = {
|
|
root_dir = [[root_pattern("Gemfile", ".git")]],
|
|
},
|
|
},
|
|
}
|