Fix double lsp

This commit is contained in:
2025-09-18 23:18:19 +02:00
parent e2a6c21f81
commit e4cb69ad82
5 changed files with 34 additions and 19 deletions

View File

@@ -67,6 +67,10 @@ function M.get_lsp_servers()
if vim.fn.executable("clangd") == 1 then
table.insert(servers, "clangd")
end
if vim.fn.executable("java") == 1 then
table.insert(servers, "jdtls")
end
table.insert(servers, "pyright")
table.insert(servers, "bashls")
table.insert(servers, "cssls")
@@ -96,6 +100,7 @@ function M.get_lsp_servers()
if vim.fn.executable("zls") == 1 then
table.insert(servers, "zls")
end
end
populate_servers()