diff options
Diffstat (limited to 'lua/alpha')
| -rw-r--r-- | lua/alpha/lsp/mason.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/alpha/lsp/mason.lua b/lua/alpha/lsp/mason.lua index 5ad4b77..e164562 100644 --- a/lua/alpha/lsp/mason.lua +++ b/lua/alpha/lsp/mason.lua @@ -8,10 +8,10 @@ mason.setup() local mason_servers = {} -- TODO: can be improve checking the setup function to see if sets the cmd -for server, value in pairs(servers) do +for server, _ in pairs(servers) do local cmd = lspconfig[server].document_config.default_config.cmd[1] if vim.fn.executable(cmd) == 0 then - table.insert(mason, server) + table.insert(mason_servers, server) end end |