blob: 785c53494e5a16c2ef0d3b3649d3b316e05f77cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local on_attach = require("plugins.configs.lspconfig").on_attach
local capabilities = require("plugins.configs.lspconfig").capabilities
local lspconfig = require "lspconfig"
local servers = { "pylsp", "clangd" }
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {
on_attach = on_attach,
capabilities = capabilities,
}
end
|