fix(vim): force solargraph to use bundle exec

Solargraph is best used installed in your Gemfile, this will allow you
to use manage the versions by each project. This will ensure that we are
using the version in your Gemfile, not the one installed globally.
This commit is contained in:
Ade Attwood 2023-10-15 15:46:01 +01:00
parent 2d7ab84b3a
commit ed39483c40

View file

@ -15,7 +15,9 @@ local servers = {
filetypes = { "html", "typescriptreact", "javascriptreact", "css", "scss", "eruby" },
},
-- Ruby
solargraph = {},
solargraph = {
cmd = { "bundle", "exec", "solargraph", "stdio" },
},
-- Rust
rust_analyzer = {},
-- Lua for the vim config and plugin dev