From 3801fd8dcc27499bdadb199fc258cc181973b8f7 Mon Sep 17 00:00:00 2001 From: Sebastian Estrella <2049686+sestrella@users.noreply.github.com> Date: Mon, 20 Jan 2025 21:50:03 -0500 Subject: [PATCH] [neovim] Disable copilot --- home/neovim/plugins/lsp/config.lua | 8 -------- home/neovim/plugins/lsp/default.nix | 1 - 2 files changed, 9 deletions(-) diff --git a/home/neovim/plugins/lsp/config.lua b/home/neovim/plugins/lsp/config.lua index 681a465..e4b7b1c 100644 --- a/home/neovim/plugins/lsp/config.lua +++ b/home/neovim/plugins/lsp/config.lua @@ -1,10 +1,3 @@ -require("copilot").setup({ - panel = { enabled = false }, - suggestion = { enabled = false }, -}) - -require("copilot_cmp").setup() - local cmp = require("cmp") -- https://github.com/hrsh7th/nvim-cmp @@ -36,7 +29,6 @@ cmp.setup({ [""] = cmp.mapping.complete({}), }), sources = cmp.config.sources({ - { name = "copilot" }, { name = "nvim_lsp" }, { name = "nvim_lsp_signature_help" }, }, { diff --git a/home/neovim/plugins/lsp/default.nix b/home/neovim/plugins/lsp/default.nix index ded646d..e1b9a61 100644 --- a/home/neovim/plugins/lsp/default.nix +++ b/home/neovim/plugins/lsp/default.nix @@ -10,6 +10,5 @@ pkgs.vimPlugins.cmp-buffer pkgs.vimPlugins.cmp-nvim-lsp pkgs.vimPlugins.cmp-nvim-lsp-signature-help - pkgs.vimPlugins.copilot-cmp pkgs.vimPlugins.nvim-cmp ]