aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers')
-rw-r--r--lua/nvim-lsp-installer/servers/solargraph.lua2
-rw-r--r--lua/nvim-lsp-installer/servers/sumneko_lua.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/servers/solargraph.lua b/lua/nvim-lsp-installer/servers/solargraph.lua
index c9f99e7c..4e3e1808 100644
--- a/lua/nvim-lsp-installer/servers/solargraph.lua
+++ b/lua/nvim-lsp-installer/servers/solargraph.lua
@@ -23,7 +23,7 @@ return server.Server:new {
name = "solargraph",
root_dir = root_dir,
install_cmd = install_cmd,
- pre_install = function ()
+ pre_install_check = function ()
if vim.fn.executable('bundle') ~= 1 then
error("bundle not installed")
end
diff --git a/lua/nvim-lsp-installer/servers/sumneko_lua.lua b/lua/nvim-lsp-installer/servers/sumneko_lua.lua
index 81ac2bcb..ab8b3462 100644
--- a/lua/nvim-lsp-installer/servers/sumneko_lua.lua
+++ b/lua/nvim-lsp-installer/servers/sumneko_lua.lua
@@ -30,7 +30,7 @@ return server.Server:new {
name = "sumneko_lua",
root_dir = root_dir,
install_cmd = install_cmd,
- pre_install = function()
+ pre_install_check = function()
if vim.fn.executable('ninja') ~= 1 then
error("ninja not installed (see https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages)")
end