From ba3980d7d31c60233d1309896828272dfeeaf4a4 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Sat, 23 Dec 2023 22:01:07 +0100 Subject: [PATCH] removed copilot --- .../lua/settings/lazy/plugins/copilot-cmp.lua | 7 --- nvim/lua/settings/lazy/plugins/copilot.lua | 53 ------------------- 2 files changed, 60 deletions(-) delete mode 100644 nvim/lua/settings/lazy/plugins/copilot-cmp.lua delete mode 100644 nvim/lua/settings/lazy/plugins/copilot.lua diff --git a/nvim/lua/settings/lazy/plugins/copilot-cmp.lua b/nvim/lua/settings/lazy/plugins/copilot-cmp.lua deleted file mode 100644 index 22d1727..0000000 --- a/nvim/lua/settings/lazy/plugins/copilot-cmp.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - "zbirenbaum/copilot-cmp", - event = "InsertEnter", - config = function () - require("copilot_cmp").setup() - end -} diff --git a/nvim/lua/settings/lazy/plugins/copilot.lua b/nvim/lua/settings/lazy/plugins/copilot.lua deleted file mode 100644 index 3b7edb1..0000000 --- a/nvim/lua/settings/lazy/plugins/copilot.lua +++ /dev/null @@ -1,53 +0,0 @@ -return { - "zbirenbaum/copilot.lua", - build = "Copilot :auth", - event = "InsertEnter", - config = function() - require("copilot").setup({ - panel = { - -- set to true the pannel if not using cmp. - enabled = false, - auto_refresh = true, - keymap = { - jump_prev = "[[", - jump_next = "]]", - accept = "", - refresh = "gr", - open = "" - }, - layout = { - position = "bottom", -- | top | left | right - ratio = 0.4 - }, - }, - suggestion = { - -- set to true the pannel if not using cmp. - enabled = false, - auto_trigger = true, - debounce = 75, - keymap = { - accept = "", - accept_word = false, - accept_line = false, - next = "", - prev = "", - dismiss = "", - }, - }, - filetypes = { - yaml = false, - markdown = false, - help = false, - gitcommit = false, - gitrebase = false, - hgcommit = false, - svn = false, - cvs = false, - ["."] = false, - }, - copilot_node_command = 'node', -- Node.js version must be > 18.x - server_opts_overrides = {}, - }) - end, -} -