nvde/lua/config/coq.lua
2024-01-30 20:54:44 +01:00

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,
}))