lsp related changes
This commit is contained in:
parent
a97c33a024
commit
c347de44e3
@ -1,5 +1,7 @@
|
|||||||
local lsp = require "lspconfig"
|
local lsp = require "lspconfig"
|
||||||
local coq = require "coq" -- add this
|
local coq = require "coq"
|
||||||
|
require("mason").setup()
|
||||||
|
require("mason-lspconfig").setup()
|
||||||
|
|
||||||
lsp.clangd.setup(coq.lsp_ensure_capabilities({
|
lsp.clangd.setup(coq.lsp_ensure_capabilities({
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
@ -17,12 +17,13 @@ local plugins = {
|
|||||||
'ms-jpq/coq_nvim',
|
'ms-jpq/coq_nvim',
|
||||||
branch = 'coq',
|
branch = 'coq',
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
init = function() vim.g.coq_settings = {
|
init = function() vim.g.coq_settings = {
|
||||||
auto_start = 'shut-up',
|
auto_start = 'shut-up',
|
||||||
["keymap.jump_to_mark"] = "<C-s>",
|
["keymap.jump_to_mark"] = "<C-s>",
|
||||||
|
["display.ghost_text.enabled"] = false,
|
||||||
} end,
|
} end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "ms-jpq/coq.artifacts",
|
{ "ms-jpq/coq.artifacts",
|
||||||
branch = "artifacts",
|
branch = "artifacts",
|
||||||
event = "InsertEnter", },
|
event = "InsertEnter", },
|
||||||
{ "neovim/nvim-lspconfig" },
|
{ "neovim/nvim-lspconfig" },
|
||||||
|
Loading…
Reference in New Issue
Block a user