summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/lvim/lsp/manager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lvim/lsp/manager.lua b/lua/lvim/lsp/manager.lua
index 258a4983..1323ace7 100644
--- a/lua/lvim/lsp/manager.lua
+++ b/lua/lvim/lsp/manager.lua
@@ -98,10 +98,10 @@ function M.setup(server_name, user_config)
return
end
- local should_auto_install = function()
+ local should_auto_install = function(name)
local installer_settings = lvim.lsp.installer.setup
return installer_settings.automatic_installation
- and not vim.tbl_contains(installer_settings.automatic_installation.exclude, server_name)
+ and not vim.tbl_contains(installer_settings.automatic_installation.exclude, name)
end
if not registry.is_installed(pkg_name) then