darkrc/vim/lua/lsp/setup.lua

16 lines
249 B
Lua
Raw Normal View History

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