From 9b28a36c3fabfcd6eda6db035c3e4e4c4fa4cb40 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Fri, 28 Jul 2023 09:04:08 +0200 Subject: [PATCH] feat(nvim): remove copilot --- home-manager/neovim/copilot.lua | 6 ------ home-manager/neovim/default.nix | 6 ------ home-manager/neovim/nvim-cmp.lua | 2 -- 3 files changed, 14 deletions(-) delete mode 100644 home-manager/neovim/copilot.lua diff --git a/home-manager/neovim/copilot.lua b/home-manager/neovim/copilot.lua deleted file mode 100644 index d9501a1..0000000 --- a/home-manager/neovim/copilot.lua +++ /dev/null @@ -1,6 +0,0 @@ -require("copilot").setup({ - suggestion = { enabled = false }, - panel = { enabled = false }, -}) - -require('copilot_cmp').setup({}) diff --git a/home-manager/neovim/default.nix b/home-manager/neovim/default.nix index 1e259af..37ce941 100644 --- a/home-manager/neovim/default.nix +++ b/home-manager/neovim/default.nix @@ -147,10 +147,6 @@ in # debugging nvim-dap nvim-dap-ui - - # copilot - copilot-lua - copilot-cmp ]; extraConfig = '' @@ -188,8 +184,6 @@ in vim.g.gitblame_date_format = "%r" - ${builtins.readFile ./copilot.lua } - EOF ''; }; diff --git a/home-manager/neovim/nvim-cmp.lua b/home-manager/neovim/nvim-cmp.lua index 7392fe7..7b0f78b 100644 --- a/home-manager/neovim/nvim-cmp.lua +++ b/home-manager/neovim/nvim-cmp.lua @@ -15,7 +15,6 @@ cmp.setup({ end }, sources = cmp.config.sources({ - { name = "copilot" }, { name = "nvim_lsp" }, { name = "nvim_lsp_signature_help" }, { name = "luasnip" }, @@ -60,7 +59,6 @@ cmp.setup({ fields = { "menu", "abbr", "kind" }, format = function(entry, item) local menu_icon = { - copilot = "", nvim_lsp = "λ", luasnip = "⋗", buffer = "Ω",