1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 02:20:04 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/standardrb.lua

20 lines
417 B
Lua
Vendored

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'standardrb', '--lsp' },
filetypes = { 'ruby' },
root_dir = util.root_pattern('Gemfile', '.git'),
},
docs = {
description = [[
https://github.com/testdouble/standard
Ruby Style Guide, with linter & automatic code fixer.
]],
default_config = {
root_dir = [[root_pattern("Gemfile", ".git")]],
},
},
}