2023-11-30 12:21:07 +00:00
|
|
|
local config = require 'lspconfig'
|
|
|
|
|
2023-12-07 11:51:42 +00:00
|
|
|
local default = { on_attach = require 'lsp.attach' }
|
|
|
|
for _, language in ipairs {
|
|
|
|
"html",
|
|
|
|
"cssls",
|
|
|
|
"clangd",
|
2024-02-09 09:32:05 +00:00
|
|
|
"tsserver",
|
2023-12-07 11:51:42 +00:00
|
|
|
"lua_ls",
|
|
|
|
"solargraph",
|
|
|
|
"standardrb",
|
|
|
|
"zls",
|
|
|
|
} do
|
|
|
|
config[language].setup(default)
|
|
|
|
end
|