Solargraph uses stdio instead of --stdio (#642)

You can see this in the [default config](https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/solargraph.lua).
This commit is contained in:
Brandon Conway 2021-07-04 07:34:53 -07:00 committed by GitHub
parent c8c29aa03c
commit a291b0597a
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
-- If you are using rvm, make sure to change below configuration -- If you are using rvm, make sure to change below configuration
require'lspconfig'.solargraph.setup { require'lspconfig'.solargraph.setup {
cmd = {DATA_PATH .. "/lspinstall/ruby/solargraph/solargraph", "--stdio"}, cmd = {DATA_PATH .. "/lspinstall/ruby/solargraph/solargraph", "stdio"},
on_attach = require'lsp'.common_on_attach, on_attach = require'lsp'.common_on_attach,
handlers = { handlers = {
["textDocument/publishDiagnostics"] = vim.lsp.with( ["textDocument/publishDiagnostics"] = vim.lsp.with(