blob: e30730259dadc55b631f58e14fe8f9698dc10176 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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")]],
},
},
}
|