Skip to content

Commit

Permalink
Fix starting incorrect ruby_lsp
Browse files Browse the repository at this point in the history
To fix lsp client failing;

- Disable Mason's auto install for ruby_lsp.
- Explicit enable for ruby_lsp.
- Specify the command to start the lsp client.

Shopify/ruby-lsp#2347
  • Loading branch information
ogirginc committed Jul 25, 2024
1 parent 3033963 commit 2d83daa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nvim/lua/plugins/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ return {
underline = false,
virtual_text = false,
},
servers = {
ruby_lsp = {
mason = false,
enabled = true,
cmd = { "/Users/ogirginc/.asdf/shims/ruby-lsp" },
},
},
},
},
}

0 comments on commit 2d83daa

Please sign in to comment.