From c347de44e325c89f13aab242d0f42dff0f07f4a4 Mon Sep 17 00:00:00 2001 From: nova Date: Tue, 30 Jan 2024 20:54:44 +0100 Subject: [PATCH] lsp related changes --- lua/config/coq.lua | 4 +++- lua/plugins.lua | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lua/config/coq.lua b/lua/config/coq.lua index ade1fa0..00f4b5e 100644 --- a/lua/config/coq.lua +++ b/lua/config/coq.lua @@ -1,5 +1,7 @@ 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({ on_attach = on_attach, diff --git a/lua/plugins.lua b/lua/plugins.lua index 89428f8..69ad4bd 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -17,12 +17,13 @@ local plugins = { 'ms-jpq/coq_nvim', branch = 'coq', event = "InsertEnter", - init = function() vim.g.coq_settings = { - auto_start = 'shut-up', + init = function() vim.g.coq_settings = { + auto_start = 'shut-up', ["keymap.jump_to_mark"] = "", + ["display.ghost_text.enabled"] = false, } end, dependencies = { - { "ms-jpq/coq.artifacts", + { "ms-jpq/coq.artifacts", branch = "artifacts", event = "InsertEnter", }, { "neovim/nvim-lspconfig" },