lsp integration with coq
This commit is contained in:
parent
37e28c2b11
commit
95a377929a
@ -1,3 +1,19 @@
|
|||||||
local lsp = require "lspconfig"
|
local lsp = require "lspconfig"
|
||||||
local coq = require "coq" -- add this
|
local coq = require "coq" -- add this
|
||||||
|
|
||||||
|
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,
|
||||||
|
}))
|
||||||
|
@ -17,7 +17,10 @@ local plugins = {
|
|||||||
'ms-jpq/coq_nvim',
|
'ms-jpq/coq_nvim',
|
||||||
branch = 'coq',
|
branch = 'coq',
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
init = function() vim.g.coq_settings = { auto_start = true, ["keymap.jump_to_mark"] = "<C-s>" } end,
|
init = function() vim.g.coq_settings = {
|
||||||
|
auto_start = 'shut-up',
|
||||||
|
["keymap.jump_to_mark"] = "<C-s>",
|
||||||
|
} end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "ms-jpq/coq.artifacts",
|
{ "ms-jpq/coq.artifacts",
|
||||||
branch = "artifacts",
|
branch = "artifacts",
|
||||||
|
Loading…
Reference in New Issue
Block a user