22 lines
563 B
Lua
22 lines
563 B
Lua
local lsp = require "lspconfig"
|
|
local coq = require "coq"
|
|
require("mason").setup()
|
|
require("mason-lspconfig").setup()
|
|
|
|
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,
|
|
}))
|