summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/steep.lua
blob: 367c780098ef87ed9c75007c3c436aa1de228be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local util = require 'lspconfig.util'

return {
  default_config = {
    cmd = { 'steep', 'langserver' },
    filetypes = { 'ruby', 'eruby' },
    root_dir = util.root_pattern('Steepfile', '.git'),
  },
  docs = {
    description = [[
https://github.com/soutaro/steep

`steep` is a static type checker for Ruby.

You need `Steepfile` to make it work. Generate it with `steep init`.
]],
    default_config = {
      root_dir = [[root_pattern("Steepfile", ".git")]],
    },
  },
}