summaryrefslogtreecommitdiff
path: root/lsp/ruby.lua
blob: 07c64a5914178ef378fbcb604b6e6daea339cbc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
  cmd = {
    vim.fn.expand("~/.local/share/nvim/mason/bin/solargraph"),
    "stdio",
  },
  filetypes = { "ruby" },
  root_markers = { "Gemfile", ".git" },
  init_options = { formatting = true },
  settings = {
    solargraph = {
      diagnostics = true,
    },
  },
}