From a291b0597a7c9f76cfdb0dc4be9833ed6c8778e8 Mon Sep 17 00:00:00 2001 From: Brandon Conway Date: Sun, 4 Jul 2021 07:34:53 -0700 Subject: 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). --- ftplugin/ruby.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/ruby.lua b/ftplugin/ruby.lua index f46a71f8..4f2c20f8 100644 --- a/ftplugin/ruby.lua +++ b/ftplugin/ruby.lua @@ -1,6 +1,6 @@ -- If you are using rvm, make sure to change below configuration 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, handlers = { ["textDocument/publishDiagnostics"] = vim.lsp.with( -- cgit v1.2.3