Skip to content

Commit

Permalink
Use solargraph as ruby default lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalDevil committed Oct 14, 2023
1 parent 70d5608 commit 42a34a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion lua/lsp/check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ local required_go = { "gopls" }

local required_pip = { "cmake" }

local required_gem = { "ruby_ls" }
local required_gem = { "solargraph" }

local insert_to = function(status, insert_list)
if status then
Expand Down
14 changes: 0 additions & 14 deletions lua/lsp/config/ruby_ls.lua

This file was deleted.

3 changes: 1 addition & 2 deletions lua/lsp/setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ local servers = {
pylyzer = require("lsp.config.pylyzer"),
racket_langserver = require("lsp.config.racket_langserver"),
rust_analyzer = require("lsp.config.rust_analyzer"),
ruby_ls = require("lsp.config.ruby_ls"),
-- solargraph = require("lsp.config.solargraph"),
solargraph = require("lsp.config.solargraph"),
taplo = require("lsp.config.taplo"),
tsserver = require("lsp.config.tsserver"),
v_analyzer = require("lsp.config.v_analyzer"),
Expand Down

0 comments on commit 42a34a6

Please sign in to comment.