blob: 0d2cd29bfa55c952757fcc1587f3af428ce759a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'rubocop', '--lsp' },
filetypes = { 'ruby' },
root_dir = util.root_pattern('Gemfile', '.git'),
},
docs = {
description = [[
https://github.com/rubocop/rubocop
]],
default_config = {
root_dir = [[root_pattern("Gemfile", ".git")]],
},
},
}
|