2024-01-29 00:07:54 +01:00
|
|
|
local lsp = require "lspconfig"
|
|
|
|
local coq = require "coq" -- add this
|
|
|
|
|
2024-01-29 23:25:41 +01:00
|
|
|
lsp.clangd.setup(coq.lsp_ensure_capabilities({
|
|
|
|
on_attach = on_attach,
|
|
|
|
capabilities = capabilities,
|
|
|
|
}))
|
|
|
|
lsp.rust_analyzer.setup(coq.lsp_ensure_capabilities({
|
|
|
|
on_attach = on_attach,
|
|
|
|
capabilities = capabilities,
|
|
|
|
}))
|
|
|
|
lsp.lua_ls.setup(coq.lsp_ensure_capabilities({
|
|
|
|
on_attach = on_attach,
|
|
|
|
capabilities = capabilities,
|
|
|
|
}))
|
|
|
|
lsp.arduino_language_server.setup(coq.lsp_ensure_capabilities({
|
|
|
|
on_attach = on_attach,
|
|
|
|
capabilities = capabilities,
|
|
|
|
}))
|