aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/solargraph/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/solargraph/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/solargraph/init.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/lua/nvim-lsp-installer/servers/solargraph/init.lua b/lua/nvim-lsp-installer/servers/solargraph/init.lua
index 630cc15c..fdad4861 100644
--- a/lua/nvim-lsp-installer/servers/solargraph/init.lua
+++ b/lua/nvim-lsp-installer/servers/solargraph/init.lua
@@ -1,19 +1,19 @@
-local server = require("nvim-lsp-installer.server")
-local path = require("nvim-lsp-installer.path")
-local zx = require("nvim-lsp-installer.installers.zx")
+local server = require "nvim-lsp-installer.server"
+local path = require "nvim-lsp-installer.path"
+local zx = require "nvim-lsp-installer.installers.zx"
-local root_dir = server.get_server_root_path("ruby")
+local root_dir = server.get_server_root_path "ruby"
return server.Server:new {
name = "solargraph",
root_dir = root_dir,
- installer = zx.file("./install.mjs"),
- pre_install_check = function ()
- if vim.fn.executable("bundle") ~= 1 then
- error("bundle not installed")
+ installer = zx.file "./install.mjs",
+ pre_install_check = function()
+ if vim.fn.executable "bundle" ~= 1 then
+ error "bundle not installed"
end
end,
default_options = {
cmd = { path.concat { root_dir, "solargraph", "solargraph" }, "stdio" },
- }
+ },
}